Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajmalbabu/kafka-clients
/ types & classes
Types & classes
10 in github.com/ajmalbabu/kafka-clients
⨍
Functions
42
◇
Types & classes
10
Class
AtLeastOnceConsumer
To set this up scenario set ‘enable.auto.commit’ to true and set ‘auto.commit.interval.ms’ to a higher number and committing offsets by a call to cons
src/main/java/poc/AtLeastOnceConsumer.java:24
Class
AtMostOnceConsumer
At-most-once is the default behavior of KAFKA, Depending on how consumer is configured for auto offset management, in some cases this message pattern
src/main/java/poc/AtMostOnceConsumer.java:44
Class
AvroConsumerExample
Reads an avro message.
src/main/java/poc/AvroConsumerExample.java:16
Class
AvroProducerExample
Create and publish an avro type message.
src/main/java/poc/AvroProducerExample.java:15
Class
AvroSupport
Support class for avro messages.
src/main/java/poc/AvroSupport.java:20
Class
ExactlyOnceDynamicConsumer
To achieve exactly once scenario, offset should be manually managed (DO-NOT do auto offset management). <p/> The consumer can register with the Kafka
src/main/java/poc/ExactlyOnceDynamicConsumer.java:38
Class
ExactlyOnceStaticConsumer
To achieve exactly once scenario, offset should be manually managed (DO-NOT do auto offset management). <p/> The consumer can register with the Kafka
src/main/java/poc/ExactlyOnceStaticConsumer.java:42
Class
MyConsumerRebalancerListener
Re-balancer for any subscription changes.
src/main/java/poc/MyConsumerRebalancerListener.java:11
Class
OffsetManager
The partition offset are stored in an external storage. In this case in a file system. <p/>
src/main/java/poc/OffsetManager.java:14
Class
ProducerExample
A sample client to produce a bunch of messages.
src/main/java/poc/ProducerExample.java:13