0% found this document useful (0 votes)
12 views1 page

Advanced Kafka Consumer Java Tutorials

This document provides advanced tutorials for Java programming tasks related to Kafka Consumers. It covers topics such as Consumer Rebalance Listener, Consumer Seek and Assign, and running a Consumer in Threads. These examples are intended for users who need more complex functionalities beyond basic use cases.

Uploaded by

tfememoire081
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Advanced Kafka Consumer Java Tutorials

This document provides advanced tutorials for Java programming tasks related to Kafka Consumers. It covers topics such as Consumer Rebalance Listener, Consumer Seek and Assign, and running a Consumer in Threads. These examples are intended for users who need more complex functionalities beyond basic use cases.

Uploaded by

tfememoire081
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Advanced Kafka Consumer tutorials with Java

A series of tutorials covering more advanced Java programming tasks for Kafka ConsumersThe
previous code examples should be enough for 90% of your use [Link], we have included
advanced examples for the following use cases:

 Consumer Rebalance Listener: in case you’re doing a manual commit of your offsets to Kafka
or externally, this allows you to commit offsets when partitions are revoked from your
consumer.

 Consumer Seek and Assign: if instead of using consumer groups, you want to start at specific
offsets and consume only specific partitions, you will learn about
the .seek() and .assign() APIs.

 Consumer in Threads: very advanced code samples, this is for those who want to run their
consumer .poll() loop in a separate thread.

You might also like