We are experencing the following scenario: We have a simple kafka producer application which reads from rabbitmq and using kafka template produces messages on a kafka topic. Now our kafka producer can no longer deliver messages to the Kafka brokers when one of the brokers goes down for any reason. You would then expect the producer to deliver to another broker (we have 5 in the cluster). This does not work. The producer keeps waiting for the broker to come back. So far, we have noticed that a new broker has returned, but the connection was not restored. To resolve this, we have to manually restart the producer application.
We are using springboot 2.7.13
Any help or suggestions would be appreciated.
Thanks in advance
Andy