Namespace: OpenEdge.Messaging.Kafka
Type: Class KafkaConsumerBuilder
Parent Classes:
Inherits: OpenEdge.Messaging.ConsumerBuilder


/*
Copyright © 2021,2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.



Method Summary
  Options Name Purpose
  OpenEdge.Messaging.IConsumer Build () /** Construct a consumer from the current state of this consumer builder. */
  OpenEdge.Core.Collections.IStringKeyedMap ConstructTopicKeyDeserializers (IStringKeyedMap) /** Pre-constructs all of the topic key deserializers */
  OpenEdge.Core.Collections.IStringKeyedMap ConstructTopicValueDeserializers (IStringKeyedMap) /** Pre-constructs all of the topic body deserializers */
  ConvertAutoOffsetReset (IStringStringMap) /** Convert the auto offset reset property to a string value that librdkafka understands when its stored in the configuration as an enum. */
  ConvertIsolationLevel (IStringStringMap) /* Convert isolation level property to a string value that librdkafka understands when its stored in the configuration as an enum. */
  CopyOptionsToConsumerMap (IStringStringMap)
  CopySubscriptionsToBIO (IList, IConsumerDelegate)
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder Create () /** Create a kafka specific consumer builder. */
  OpenEdge.Messaging.IDeserializer CreateBodyDeserializer () /** Construct the value deserializer for the consumer. */
  OpenEdge.Messaging.Internal.IConsumerDelegate CreateConsumerDelegate () /* Create the BIO consumer. This is marked as protected so it can be overridden for unit tests. */
  OpenEdge.Messaging.Kafka.IOptionFilter CreateConsumerOptionFilter ()
  OpenEdge.Messaging.Kafka.IOptionValidator CreateConsumerOptionValidator () /** Create the consumer option validator. By default this returns UNKNOWN. Override this to provide an actual implementation. */
  OpenEdge.Messaging.IDeserializer CreateDeserializer (character) /** Construct a deserializer from the identified property name. */
  OpenEdge.Messaging.IDeserializer CreateDeserializer (Object, character, character) /** Construct a deserializer from a property value. This can be either an OpenEdge.Core.String that holds the name of a class that implements OpenEdge.Messaging.IDeserializer, or it can be be an actual instance of OpenEdge.Messaging.IDeserializer. If the name of a deserializer class is provided, the class must have a no-argument contructor, and will be instantiated and cheked to ensure it implements IDeserializer @param deserializerObj an instance of IDeserializer or a string holding the name of the deserializer @param deserializerPropertyName the name of the property to include in messages if an error occurs @param topicName if not unknown, this value is included in messages if an error occurs @return an deserializer that implements OpenEdge.Messaging.IDeserializer */
  OpenEdge.Messaging.Kafka.KafkaConsumer CreateKafkaConsumer (IConsumerDelegate, IStringStringMap, IStringKeyedMap)
  OpenEdge.Messaging.IDeserializer CreateKeyDeserializer () /** Construct the key deserializer for the consumer. */
  OpenEdge.Messaging.Kafka.IOptionFilter CreateTopicOptionFilter ()
  OpenEdge.Messaging.Kafka.IOptionValidator CreateTopicOptionValidator () /** Create the per-topic option validator. The validator is here to prevent the application from setting configuration values that are completely unsupported by the underlying implementation. */
  LOGICAL FilterOption (character) /** @Override */
  Progress.Lang.Object GetOptionAsObject (character) /* Override for GetOptionStringValue from ConfigBuilder to make it easier to access from utility functions. */
  Progress.Lang.Object GetOptionObjectValue (character) /** Override for GetOptionStringValue from ConfigBuilder to make it easier to access from utility functions. */
  CHARACTER GetOptionStringValue (character) /** Override for GetOptionStringValue from ConfigBuilder to make it easier to access from utility functions. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoDeleteConsumerGroup (logical) /* Specify whether the consumer group should be automatically deleted when the consumer object is garbage collected. @param autoDeleteConsumerGroup whether or not to automatically delete consumer group. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoOffsetReset (AutoOffsetReset) /** Action to take when there is no initial offset in offset store or the desired offset is out of range: 'smallest','earliest' - automatically reset the offset to the smallest offset 'largest','latest' - automatically reset the offset to the largest offset 'error' - trigger an error. @param autoOffsetReset The action to take when there is no initial offset store @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoOffsetReset (character) /** Action to take when there is no initial offset in offset store or the desired offset is out of range: 'smallest','earliest' - automatically reset the offset to the smallest offset 'largest','latest' - automatically reset the offset to the largest offset 'error' - trigger an error. @param autoOffsetReset The action to take when there is no initial offset store @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (character) /* Configure the consumer with an initial list of Kafka brokers to which to connect. The format of the string is expected to be a comma delimited list in the form of <host>:<port>[,<host>:<port>...] @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (URI) /** Configure the consumer with an initial Kafka broker to which to connect. Each URI needs to provide a host and port which is used to locate a Kafka broker @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (URI[]) /* Configure the consumer with an initial list of Kafka brokers to which to connect. The URI needs to provide a host and port that will be used to locate a Kafka broker. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetClientId (character) /** Configure the client id of the Kafka consumer. @param clientId the Client id */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetEnableAutoCommit (logical) /** Automatically and periodically commit offsets in the background. @param enableAutoCommit True if auto commit of offsets should be turned on. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetEnableAutoOffsetStore (logical) /** Automatically store offset of last message provided to application. The offset store is an in-memory store of the next offset to (auto-)commit for each partition. @param enableAutoOffsetStore True if auto offset store should be turned on. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetGroupId (character) /** Configure the group id of the Kafka consumer. A group id is required in order to for the client to participate in a subscriber group. @param groupId A value that identifies the client's membership within a subscriber group */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetIsolationLevel (character) /** Controls how to read messages written transactionally. Can be specified as one of following:  "read_committed" - only return transactional messages which have been committed.  "read_uncommitted" - return all messages, even transactional messages which have been aborted. @param isolationLevel The isolation level of messages read. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetIsolationLevel (IsolationLevel) /** Controls how to read messages written transactionally. Can be specified as one of following:  IsolationLevel.ReadCommitted - only return transactional messages which have been committed.  IsolationLevel.ReadUncommitted - return all messages, even transactional messages which have been aborted. @param isolationLevel The isolation level of messages read. @return This consumer builder. */
  OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializer (character) /** Provide the name of a class which must implement OpenEdge.Messaging.IDeserializer. An instance of this class will be created to convert the partition keys of messages from MEMPTR to LONGCHAR. @param keyDeserializerClassName The name of a class that implements OpenEdge.Messaging.IDeserializer. The Consumer will use an instance of this class to deserialize record partition keys. @return This consumer builder. */
  OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializer (IDeserializer) /** Provide an implementation of a deserializer that will be used to convert the partition key of messages from MEMPTR to LONGCHAR. @param valueDeserializer An instance of an OpenEdge.Messaging.IDeserializer that will be used by any constructed Consumer to deserialize record partition keys. @return This consumer builder. */
  OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializerCodePage (character) /** Set the codepage used to deserialize string based message partition key. @param characterEncoding The name of a code page that will be used by the consumer's deserializer to convert MEMPTR values to LONGCHAR. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetMaxPollInterval (int64) /** Maximum allowed time between calls to consume messages for consumers. If this interval is exceeded the consumer is considered failed and the group will rebalance in order to reassign the partitions to another consumer group member. @param pollInterval The maximum poll interval for consuming messages. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLMechanism (SASLMechanisms) /** Set the security mechanism to be used by the consumer. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLPassword (character) /** Set the SASL password. @param saslPassword The password @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLUserName (character) /** Set the security username to be used by the consumer. @param saslUserName The security username . @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSecurityProtocol (character)
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSecurityProtocol (SecurityProtocol)
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSessionTimeout (int64) /** Client group session and failure detection timeout. The consumer sends periodic heartbeats (heartbeat.interval.ms) to indicate its liveness to the broker. If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance. The unit of measure is milliseconds. @param timeout The session timeout. @return This consumer builder. */
  OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetStrictConfigNames (logical) /* Specify whether errors from kafka broker that indicate unsupported configuration names are returned to the ABL as an error, or if the error is quietly ignored. @param enforceStrictConfigNames whether to enforce strict config names . @return This consumer builder. */

Constructor Summary
  Options Name Purpose
  KafkaConsumerBuilder ()

Method Detail
Top

OpenEdge.Messaging.IConsumer Build ()

Purpose:
Construct a consumer from the current state of this consumer builder.
Returns OpenEdge.Messaging.IConsumer
 
Top

OpenEdge.Core.Collections.IStringKeyedMap ConstructTopicKeyDeserializers (IStringKeyedMap)

Purpose:
Pre-constructs all of the topic key deserializers
Parameters:
topicConfigurations OpenEdge.Core.Collections.IStringKeyedMap
 
Returns OpenEdge.Core.Collections.IStringKeyedMap
 
Top

OpenEdge.Core.Collections.IStringKeyedMap ConstructTopicValueDeserializers (IStringKeyedMap)

Purpose:
Pre-constructs all of the topic body deserializers
Parameters:
topicConfigurations OpenEdge.Core.Collections.IStringKeyedMap
 
Returns OpenEdge.Core.Collections.IStringKeyedMap
 
Top

ConvertAutoOffsetReset (IStringStringMap)

Purpose:
Convert the auto offset reset property to a string value that librdkafka understands
when its stored in the configuration as an enum.
Parameters:
config OpenEdge.Core.Collections.IStringStringMap
 
Top

ConvertIsolationLevel (IStringStringMap)

/*
Convert isolation level property to a string value that librdkafka understands
when its stored in the configuration as an enum.
Parameters:
config OpenEdge.Core.Collections.IStringStringMap
 
Top

CopyOptionsToConsumerMap (IStringStringMap)

Parameters:
config OpenEdge.Core.Collections.IStringStringMap
 
Top

CopySubscriptionsToBIO (IList, IConsumerDelegate)

Parameters:
topicSubscriptions OpenEdge.Core.Collections.IList
 
consumerDelegate OpenEdge.Messaging.Internal.IConsumerDelegate
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder Create ()

Purpose:
Create a kafka specific consumer builder.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
 
Top

OpenEdge.Messaging.IDeserializer CreateBodyDeserializer ()

Purpose:
Construct the value deserializer for the consumer.
Returns OpenEdge.Messaging.IDeserializer
 
Top

OpenEdge.Messaging.Internal.IConsumerDelegate CreateConsumerDelegate ()

/*
Create the BIO consumer. This is marked as protected so it can be overridden for unit tests.
Returns OpenEdge.Messaging.Internal.IConsumerDelegate
 
Top

OpenEdge.Messaging.Kafka.IOptionFilter CreateConsumerOptionFilter ()

Returns OpenEdge.Messaging.Kafka.IOptionFilter
 
Top

OpenEdge.Messaging.Kafka.IOptionValidator CreateConsumerOptionValidator ()

Purpose:
Create the consumer option validator. By default this returns UNKNOWN.
Override this to provide an actual implementation.
Returns OpenEdge.Messaging.Kafka.IOptionValidator
 
Top

OpenEdge.Messaging.IDeserializer CreateDeserializer (character)

Purpose:
Construct a deserializer from the identified property name.
Parameters:
deserializerPropertyName CHARACTER
 
Returns OpenEdge.Messaging.IDeserializer
 
Top

OpenEdge.Messaging.IDeserializer CreateDeserializer (Object, character, character)

Purpose:
Construct a deserializer from a property value. This can be either an OpenEdge.Core.String
that holds the name of a class that implements OpenEdge.Messaging.IDeserializer, or it can be
be an actual instance of OpenEdge.Messaging.IDeserializer.
If the name of a deserializer class is provided, the class must have a no-argument contructor,
and will be instantiated and cheked to ensure it implements IDeserializer
Parameters:
deserializerObj Progress.Lang.Object
  an instance of IDeserializer or a string holding the name of the deserializer
deserializerPropertyName CHARACTER
  the name of the property to include in messages if an error occurs
topicName CHARACTER
  if not unknown, this value is included in messages if an error occurs
Returns OpenEdge.Messaging.IDeserializer
  an deserializer that implements OpenEdge.Messaging.IDeserializer
Top

OpenEdge.Messaging.Kafka.KafkaConsumer CreateKafkaConsumer (IConsumerDelegate, IStringStringMap, IStringKeyedMap)

Parameters:
consumerDelegate OpenEdge.Messaging.Internal.IConsumerDelegate
 
config OpenEdge.Core.Collections.IStringStringMap
 
topicConfigurations OpenEdge.Core.Collections.IStringKeyedMap
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumer
 
Top

OpenEdge.Messaging.IDeserializer CreateKeyDeserializer ()

Purpose:
Construct the key deserializer for the consumer.
Returns OpenEdge.Messaging.IDeserializer
 
Top

OpenEdge.Messaging.Kafka.IOptionFilter CreateTopicOptionFilter ()

Returns OpenEdge.Messaging.Kafka.IOptionFilter
 
Top

OpenEdge.Messaging.Kafka.IOptionValidator CreateTopicOptionValidator ()

Purpose:
Create the per-topic option validator. The validator
is here to prevent the application from setting configuration
values that are completely unsupported by the underlying implementation.
Returns OpenEdge.Messaging.Kafka.IOptionValidator
 
Top

LOGICAL FilterOption (character)

Purpose:
@Override
Parameters:
configName CHARACTER
 
Returns LOGICAL
 
Top

Progress.Lang.Object GetOptionAsObject (character)

/*
Override for GetOptionStringValue from ConfigBuilder to make it easier to access
from utility functions.
Parameters:
propName CHARACTER
 
Returns Progress.Lang.Object
 
Top

Progress.Lang.Object GetOptionObjectValue (character)

Purpose:
Override for GetOptionStringValue from ConfigBuilder to make it easier to access
from utility functions.
Parameters:
propName CHARACTER
 
Returns Progress.Lang.Object
 
Top

CHARACTER GetOptionStringValue (character)

Purpose:
Override for GetOptionStringValue from ConfigBuilder to make it easier to access
from utility functions.
Parameters:
propName CHARACTER
 
Returns CHARACTER
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoDeleteConsumerGroup (logical)

/*
Specify whether the consumer group should be automatically deleted when the consumer object is
garbage collected.
Parameters:
autoDeleteConsumerGroup LOGICAL
  whether or not to automatically delete consumer group.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoOffsetReset (AutoOffsetReset)

Purpose:
Action to take when there is no initial offset in offset store or the desired offset is out of range:
'smallest','earliest' - automatically reset the offset to the smallest offset
'largest','latest' - automatically reset the offset to the largest offset
'error' - trigger an error.
Parameters:
autoOffsetReset OpenEdge.Messaging.Kafka.AutoOffsetReset
  The action to take when there is no initial offset store
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetAutoOffsetReset (character)

Purpose:
Action to take when there is no initial offset in offset store or the desired offset is out of range:
'smallest','earliest' - automatically reset the offset to the smallest offset
'largest','latest' - automatically reset the offset to the largest offset
'error' - trigger an error.
Parameters:
autoOffsetReset CHARACTER
  The action to take when there is no initial offset store
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (character)

/*
Configure the consumer with an initial list of Kafka brokers to which
to connect.
The format of the string is expected to be a comma delimited list in the form of
<host>:<port>[,<host>:<port>...] <port>[,<host>:<port>...]
Parameters:
bootstrapServers CHARACTER
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (URI)

Purpose:
Configure the consumer with an initial Kafka broker to which
to connect. Each URI needs to provide a host and port which is
used to locate a Kafka broker
Parameters:
bootstrapServer OpenEdge.Net.URI
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetBootstrapServers (URI[])

/*
Configure the consumer with an initial list of Kafka brokers to which
to connect. The URI needs to provide a host and port that will be used
to locate a Kafka broker.
Parameters:
bootstrapServers OpenEdge.Net.URI
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetClientId (character)

Purpose:
Configure the client id of the Kafka consumer.
Parameters:
clientId CHARACTER
  the Client id
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetEnableAutoCommit (logical)

Purpose:
Automatically and periodically commit offsets in the background.
Parameters:
enableAutoCommit LOGICAL
  True if auto commit of offsets should be turned on.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetEnableAutoOffsetStore (logical)

Purpose:
Automatically store offset of last message provided to application. The offset store is an in-memory store of the next offset to (auto-)commit for each partition.
Parameters:
enableAutoOffsetStore LOGICAL
  True if auto offset store should be turned on.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetGroupId (character)

Purpose:
Configure the group id of the Kafka consumer. A group id is required
in order to for the client to participate in a subscriber group.
Parameters:
groupId CHARACTER
  A value that identifies the client's membership within a subscriber group
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetIsolationLevel (character)

Purpose:
Controls how to read messages written transactionally. Can be specified as one of following: 
"read_committed" - only return transactional messages which have been committed. 
"read_uncommitted" - return all messages, even transactional messages which have been aborted.
Parameters:
isolationLevel CHARACTER
  The isolation level of messages read.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetIsolationLevel (IsolationLevel)

Purpose:
Controls how to read messages written transactionally. Can be specified as one of following: 
IsolationLevel.ReadCommitted - only return transactional messages which have been committed. 
IsolationLevel.ReadUncommitted - return all messages, even transactional messages which have been aborted.
Parameters:
isolationLevel OpenEdge.Messaging.Kafka.IsolationLevel
  The isolation level of messages read.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializer (character)

Purpose:
Provide the name of a class which must implement OpenEdge.Messaging.IDeserializer.
An instance of this class will be created to convert the partition keys of messages
from MEMPTR to LONGCHAR.
The Consumer will use an instance of this class to deserialize record partition keys.
Parameters:
keyDeserializerClassName CHARACTER
  The name of a class that implements OpenEdge.Messaging.IDeserializer.
Returns OpenEdge.Messaging.ConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializer (IDeserializer)

Purpose:
Provide an implementation of a deserializer that will be used to convert
the partition key of messages from MEMPTR to LONGCHAR.
by any constructed Consumer to deserialize record partition keys.
Parameters:
keyDeserializer OpenEdge.Messaging.IDeserializer
 
Returns OpenEdge.Messaging.ConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.ConsumerBuilder SetKeyDeserializerCodePage (character)

Purpose:
Set the codepage used to deserialize string based message partition key.
to convert MEMPTR values to LONGCHAR.
Parameters:
characterEncoding CHARACTER
  The name of a code page that will be used by the consumer's deserializer
Returns OpenEdge.Messaging.ConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetMaxPollInterval (int64)

Purpose:
Maximum allowed time between calls to consume messages for consumers. If this interval
is exceeded the consumer is considered failed and the group will rebalance in order to reassign the partitions to another consumer
group member.
Parameters:
pollInterval INT64
  The maximum poll interval for consuming messages.
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLMechanism (SASLMechanisms)

Purpose:
Set the security mechanism to be used by the consumer.
Parameters:
saslMechanism OpenEdge.Messaging.Kafka.SASLMechanisms
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLPassword (character)

Purpose:
Set the SASL password.
Parameters:
saslPassword CHARACTER
  The password
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSASLUserName (character)

Purpose:
Set the security username to be used by the consumer.
Parameters:
saslUserName CHARACTER
  The security username .
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSecurityProtocol (character)

Parameters:
securityProtocol CHARACTER
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSecurityProtocol (SecurityProtocol)

Parameters:
secProtocol OpenEdge.Messaging.Kafka.SecurityProtocol
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
 
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetSessionTimeout (int64)

Purpose:
Client group session and failure detection timeout. The consumer sends periodic heartbeats (heartbeat.interval.ms) to indicate its liveness to the broker.
If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance.
The unit of measure is milliseconds.
Parameters:
sessionTimeout INT64
 
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.
Top

OpenEdge.Messaging.Kafka.KafkaConsumerBuilder SetStrictConfigNames (logical)

/*
Specify whether errors from kafka broker that indicate unsupported configuration names
are returned to the ABL as an error, or if the error is quietly ignored.
Parameters:
enforceStrictConfigNames LOGICAL
  whether to enforce strict config names .
Returns OpenEdge.Messaging.Kafka.KafkaConsumerBuilder
  This consumer builder.


Constructor Detail
Top

KafkaConsumerBuilder ()