Confluent Related Exams
CCDAK Exam
Your application is consuming from a topic with one consumer group.
The number of running consumers is equal to the number of partitions.
Application logs show that some consumers are leaving the consumer group during peak time, triggering a rebalance. You also notice that your application is processing many duplicates.
You need to stop consumers from leaving the consumer group.
What should you do?
(You started a new Kafka Connect worker.
Which configuration identifies the Kafka Connect cluster that your worker will join?)
The producer code below features a Callback class with a method called onCompletion().
When will the onCompletion() method be invoked?