A topic, key, and value.
A partitioner controls the mapping between user-provided keys and kafka partitions.
A partitioner controls the mapping between user-provided keys and kafka partitions. Users can implement a custom partitioner to change this mapping.
Implementations will be constructed via reflection and are required to have a constructor that takes a single VerifiableProperties instance--this allows passing configuration properties into the partitioner implementation.
Tracks metrics of requests made by a given producer client to all brokers.
Tracks metrics for each topic the given producer client has produced data to.
Stores the request stats information of each producer client in a (clientId -> ProducerRequestStats) map.
Stores metrics of serialization and message sending activity of each producer client in a (clientId -> ProducerStats) map.
Stores the topic stats information of each producer client in a (clientId -> ProducerTopicStats) map.
A topic, key, and value. If a partition key is provided it will override the key for the purpose of partitioning but will not be stored.