Q. Which Kafka client API is used to write messages to topics?
β
Correct Answer: (B)
Producer API
Explanation: The Producer API is used to send data to Kafka topics.