To transform data from a Kafka topic to another one, I should use
The latest changes and updates from the administration for this exam.
Latest Update: May 29 2026
All questions are working fine.
To transform data from a Kafka topic to another one, I should use
Compaction is enabled for a topic in Kafka by setting log.cleanup.policy=compact. What is true about log compaction?
A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?
When is the onCompletion() method called?

A consumer wants to read messages from partitions 0 and 1 of a topic topic1. Code snippet is shown below.

How does a consumer commit offsets in Kafka?
You have a Zookeeper cluster that needs to be able to withstand the loss of 2 servers and still be able to function. What size should your Zookeeper cluster have?
Which Kafka CLI should you use to consume from a topic?
In the Kafka consumer metrics it is observed that fetch-rate is very high and each fetch is small. What steps will you take to increase throughput?
A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to Kafka but unable to produce to the same Kafka topic because of an authorization issue. What is the likely issue?