- 
                Notifications
    You must be signed in to change notification settings 
- Fork 935
Closed
Description
Description
I'm new to Kafka
how do i use a custom partitioner and partitioner_cb
there seems to be no docs or api for this
config['partitioner'] = 'consistent'
config['partitioner_cb'] = self.__on_partitioner
i get this
cimpl.KafkaException: KafkaError{code=_INVALID_ARG,val=-186,str="Property "partitioner_cb" must be set through dedicated .._set_..() function"}
How to reproduce
Checklist
Please provide the following information:
-  confluent-kafka-python and librdkafka version (confluent_kafka.version()andconfluent_kafka.libversion()): 1.8.2
- Apache Kafka broker version:
-  Client configuration: {'bootstrap.servers': server,'client.id': 'mytop',}
- Operating system:
-  Provide client logs (with 'debug': '..'as necessary)
- Provide broker log excerpts
- Critical issue
Metadata
Metadata
Assignees
Labels
No labels