Skip to content

GH-3170: Change default requiredAcks to all#3171

Open
pch8388 wants to merge 1 commit intospring-cloud:mainfrom
pch8388:gh-3170
Open

GH-3170: Change default requiredAcks to all#3171
pch8388 wants to merge 1 commit intospring-cloud:mainfrom
pch8388:gh-3170

Conversation

@pch8388
Copy link

@pch8388 pch8388 commented Jan 22, 2026

This PR changes the default value of spring.cloud.stream.kafka.binder.requiredAcks
from 1 to all.

Rationale:

  • Kafka producer idempotence requires acks=all
  • Kafka producer defaults use acks=all and enable.idempotence=true
  • Binder default requiredAcks=1 may introduce a conflicting configuration and disable idempotence-by-default behavior.

Users can keep the legacy behavior by explicitly setting:
spring.cloud.stream.kafka.binder.requiredAcks=1

Closes #3170

Signed-off-by: Seungcheol Kwon (권승철) <seungcheol.kwon@42dot.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kafka binder default requiredAcks=1 conflicts with producer idempotence default

1 participant