aiokafka
aiokafka copied to clipboard
[QUESTION] How to check readiness of kafka to receive msgs from producer?
Once Kafka starts, it takes a few seconds to get ready to receive messages from producer. How to check this readiness from aiokafka client?
why do you want to check the kafka readiness? Kafka should be available as any other service, if it is not then you can not do anything with consumers and producers. Now, let's assume that kafka is available, if you produce any amount of events, then it does not matter whether is a consumer available or not because you will consume then eventually (this is the power of kafka).