I'm using confluent's kafka python package. I would like to add a configuration property to the Producer called partition-key-expression in spring (Java) (See this ref for more info)
The way I'm now instantiating the producer is the following:
producer = confluent_kafka.Producer({
"bootstrap.servers": <KAFKA_SERVICE_URI>,
"topic.acks": 1
})
I was wondering whether how can I add the partition-key-expression config property since I could not find it in the docs.