Confluent
CCAAK · Question #95
CCAAK Question #95: Real Exam Question with Answer & Explanation
The correct answer is D. Set 'log4.logger.kafka.request.logger' to DEBUG in the 'log4j.properties' file and restart the. Enabling DEBUG on the request logger provides detailed per-request information, including the producer's client ID and connection details. This allows you to identify which producer is still sending messages to the topic.
Question
You manage a Kafka cluster and notice that a specific topic continues to receive messages after the known producer has stopped. You suspect there is an unknown producer still sending messages to the topic. You need to troubleshoot. You use detailed logging to identify this unknown producer. Which steps should you take to determine which producer is sending the messages?
Options
- ASet 'log4j.logger.kafka.authorizer.logger' to DEBUG in the 'log4j.properties' file and restart the
- BSet 'log4j.logger.kafka.network.logger' to DEBUG in the 'log4j.properties' file and restart the
- CSet 'log4j.logger.kafka.client.logger' to DEBUG in the 'log4j.properties' file and restart the brokers.
- DSet 'log4.logger.kafka.request.logger' to DEBUG in the 'log4j.properties' file and restart the
Explanation
Enabling DEBUG on the request logger provides detailed per-request information, including the producer's client ID and connection details. This allows you to identify which producer is still sending messages to the topic.
Community Discussion
No community discussion yet for this question.