Callback method which is executed after the injector is created and before any other lifecycle methods.
Callback method which is executed after the injector is created and before any other lifecycle methods.
Use the provided StreamsBuilder to create your KafkaStreams topology.
It is NOT expected that you block in this method as you will prevent completion of the server lifecycle.
Create a flag prefixed by "kafka.consumer." with a default value and help string that is populated from the Kafka ConsumerConfig class
Create a flag prefixed by "kafka.consumer." with a default value and help string that is populated from the Kafka ConsumerConfig class
Type of the flag value
Name of the KafkaStreams flag as specified in the ConsumerConfig class
Flag for the specified key
Create a flag prefixed by "kafka." with a default value and help string that is populated from the Kafka Streams StreamsConfig class
Create a flag prefixed by "kafka." with a default value and help string that is populated from the Kafka Streams StreamsConfig class
Type of the flag value
Name of the KafkaStreams flag as specified in the StreamsConfig class
Flag for the specified key
Create a flag prefixed by "kafka." with the specified default value and a help string that is populated from the Kafka Streams StreamsConfig class
Create a flag prefixed by "kafka." with the specified default value and a help string that is populated from the Kafka Streams StreamsConfig class
Type of the flag value
Name of the KafkaStreams flag as specified in the StreamsConfig class
Default value for this flag
Flag for the specified key
Create a flag prefixed by "kafka.producer." with a default value and help string that is populated from the Kafka ProducerConfig class
Create a flag prefixed by "kafka.producer." with a default value and help string that is populated from the Kafka ProducerConfig class
Type of the flag value
Name of the KafkaStreams flag as specified in the ProducerConfig class
Flag for the specified key
Create a required flag prefixed by "kafka." with a help string this is populated from the Kafka Streams StreamsConfig class
Create a required flag prefixed by "kafka." with a help string this is populated from the Kafka Streams StreamsConfig class
Type of the flag value
Name of the KafkaStreams flag as specified in the StreamsConfig class
A string to be added to the front of the Kafka documentation for this key
Flag for the specified key
Callback method which is executed after the injector is created and before KafkaStreams is configured.
Callback method which is executed after the injector is created and before KafkaStreams is configured.
Use the provided KafkaStreamsConfig and augment to configure your KafkaStreams topology.
Example:
override def streamsProperties(config: KafkaStreamsConfig): KafkaStreamsConfig = { super .streamsProperties(config) .retries(60) .retryBackoff(1.second) .consumer.sessionTimeout(10.seconds) .consumer.heartbeatInterval(1.second) .producer.retries(300) .producer.retryBackoff(1.second) .producer.requestTimeout(2.minutes) .producer.transactionTimeout(2.minutes) .producer.batchSize(500.kilobytes) }
the default KafkaStreamsConfig defined at createKafkaStreamsProperties
a KafkaStreamsConfig with your additional configurations applied.
A com.twitter.server.TwitterServer that supports configuring a KafkaStreams topology.
To use, override the configureKafkaStreams method to setup your topology.