Kafka is widely used for the asynchronous processing of events/messages.
By default, the Kafka client uses a blocking call to push the messages to the Kafka broker. We can use the non-blocking call if application requirements permit.
Here we will explore how we can use the non-blocking approach to push data to Kafka, what is the impact, and what could be the concern points and how to take care of them.
Read more there: https://medium.com/naukri-engineering/publishing-to-kafka-synchronous-vs-asynchronous-bf49c4e1af25