Reputation: 1
I have tried the following spring.kafka.producer.acks= - 1 And spring.cloud.stream.kafka.binder.requiredAcks= - 1
Both are not working and my MessageChannel.send() is still returning true with all the brokers down
Upvotes: 0
Views: 1487
Reputation: 1839
To set acks=all use:
spring.cloud.stream.kafka.binder.producer-properties.acks=all
If you want to set for a particular channel, override as follows:
spring.cloud.stream.kafka.bindings.mytopicchannel.producer.configuration.acks=all
Upvotes: 0