Open Olegt0rr opened 2 months ago
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).
Once Kafka starts, it takes a few seconds to get ready to receive messages from producer. How to check this readiness from aiokafka client?