aio-libs / aio-libs/aiokafka

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

未關閉
#904 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
Python
星號
1.4k
分支
269
平均合併
1 天 1 小時
30 天內合併 PR
6

描述

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?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。