Is there a way to check if the producer is ready to produce?
sergio-margale opened this issue · comments
Sergio commented
I have an app that exposes an http endpoint and produces into Kafka with fs2-kafka
, however I would like to not make the app ready until I'm sure that the producer is ready to produce aka connected to the broker.
Usually I could achieve that using something like producer.partitionsFor(topic)
but that's not available within fs2-kafka
s producers. Is there a way to achieve this?