Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We need to introduce a new Producer API that wraps the 2 low-level producer APIs - kafka.producer.SyncProducer and kafka.producer.async.AsyncProducer. The goal is to expose all the producer functionalities through a single API to the client. The new producer should be able to -
1. handle queueing/buffering of multiple producer requests and asynchronous dispatch of the batched data
2. handle the serialization of data through a user-specified Encoder
3. provide zookeeper based automatic broker discovery
4. provide software load balancing through an optionally user-specified Partitioner