strimzi / strimzi-kafka-bridge

An HTTP bridge for Apache Kafka®

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove the useless `producerSettledMode` from the `SourceBridgeEndpoint`

ppatierno opened this issue · comments

The producerSettledMode in the SourceBridgeEndpoint was actually used in order to force acks=0 for Kafka producer in order to have an AT_MOST_ONCE delivery with AMQP 1.0.
With the removal of AMQP 1.0 support, the HTTP bridge can use just one producer where the acks parameter comes from the properties file configuration or uses the Kafka default (all) if not specified.
We can remove the creation of two different producers.