Close API to close the producer pool connections to all Kafka brokers.
Close API to close the producer pool connections to all Kafka brokers. Also closes the zookeeper client connection if one exists
Sends the data, partitioned by key to the topic using either the synchronous or the asynchronous producer
Sends the data, partitioned by key to the topic using either the synchronous or the asynchronous producer
the producer data object that encapsulates the topic, key and message data