librdkafka
The Apache Kafka C/C++ client library
|
Variant partitioner with key pointer. More...
#include <rdkafkacpp.h>
Public Member Functions | |
virtual int32_t | partitioner_cb (const Topic *topic, const void *key, size_t key_len, int32_t partition_cnt, void *msg_opaque)=0 |
Variant partitioner callback that gets key as pointer and length instead of as a const std::string *. More... | |
Variant partitioner with key pointer.
|
pure virtual |
Variant partitioner callback that gets key
as pointer and length instead of as a const std::string *.
key
may be NULL or have key_len
0.