aiokafka icon indicating copy to clipboard operation
aiokafka copied to clipboard

[QUESTION] Using AIOKafkaProducer.start() and stop() with kerberised Kafka

Open ant0nk opened this issue 1 year ago • 0 comments

What is the preferred way of using AIOKafkaProducer.start() and stop() with long-running application and with environment when you have to periodically renew kerberos ticket for accessing brocker? If I use krbcontext for example should I include start() and stop() in same context with AIOKafkaProducer.send() or start() and stop() should be called just once in lifetime of application and only AIOKafkaProducer.send() should be called in krbcontext's with statement?

ant0nk avatar Jul 10 '23 15:07 ant0nk