(Since version 1.0-M1) use the factory methods ConsumerSettings.apply
and create
instead
Create a Kafka Consumer instance from these settings.
Get the Kafka consumer settings as map.
Java API: Get a raw property.
Java API: Get a raw property. null
if it is not defined.
A comma-separated list of host/port pairs to use for establishing the initial connection to the Kafka cluster.
An id string to pass to the server when making requests.
An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging.
Java API:
Set duration to wait for KafkaConsumer.close
to finish.
Set duration to wait for KafkaConsumer.close
to finish.
Java API: If set to a finite duration, the consumer will re-send the last committed offsets periodically for all assigned partitions.
Java API: If set to a finite duration, the consumer will re-send the last committed offsets periodically for all assigned partitions. @see https://issues.apache.org/jira/browse/KAFKA-4682 Set to java.time.Duration.ZERO to switch it off.
https://issues.apache.org/jira/browse/KAFKA-4682
If set to a finite duration, the consumer will re-send the last committed offsets periodically for all assigned partitions.
If set to a finite duration, the consumer will re-send the last committed offsets periodically for all assigned partitions.
https://issues.apache.org/jira/browse/KAFKA-4682
Java API: If offset commit requests are not completed within this timeout the returned Future is completed with akka.kafka.CommitTimeoutException.
If offset commit requests are not completed within this timeout the returned Future is completed with akka.kafka.CommitTimeoutException.
Java API: If commits take longer than this time a warning is logged
If commits take longer than this time a warning is logged
Enable kafka connection checker with provided settings
Replaces the default Kafka consumer creation logic.
Fully qualified config path which holds the dispatcher configuration to be used by the akka.kafka.KafkaConsumerActor.
Fully qualified config path which holds the dispatcher configuration to be used by the akka.kafka.KafkaConsumerActor. Some blocking may occur.
Java API: Check interval for TransactionalProducer when finishing transaction before shutting down consumer
Scala API: Check interval for TransactionalProducer when finishing transaction before shutting down consumer
A unique string that identifies the consumer group this consumer belongs to.
Java API
Scala API
Java API: Limits the blocking on Kafka consumer offsetForTimes calls.
Scala API: Limits the blocking on Kafka consumer offsetForTimes calls.
Java API
Scala API
Java API: Set the interval from one scheduled poll to the next.
Set the interval from one scheduled poll to the next.
Java API: Set the maximum duration a poll to the Kafka broker is allowed to take.
Set the maximum duration a poll to the Kafka broker is allowed to take.
Java API: Limits the blocking on Kafka consumer position calls.
Scala API: Limits the blocking on Kafka consumer position calls.
Java API: The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.
Scala API: The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.
Scala API: The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.
The raw properties of the kafka-clients driver, see constants in org.apache.kafka.clients.consumer.ConsumerConfig.
Java API: The stage will await outstanding offset commit requests before shutting down, but if that takes longer than this timeout it will stop forcefully.
The stage will await outstanding offset commit requests before shutting down, but if that takes longer than this timeout it will stop forcefully.
Java API: Time to wait for pending requests when a partition is closed.
Time to wait for pending requests when a partition is closed.
Not used anymore
Not used anymore
(Since version 1.0-RC1) not used anymore
Not used anymore
Not used anymore
(Since version 1.0-RC1) not used anymore
Java API: Not used anymore
Java API: Not used anymore
(Since version 1.0-RC1) not used anymore
Not used anymore
Not used anymore
(Since version 1.0-RC1) not used anymore
Settings for consumers. See
akka.kafka.consumer
section inreference.conf
. Note that the companion object providesapply
andcreate
functions for convenient construction of the settings, together with thewith
methods.The constructor is Internal API.