Skip to content

Commit

Permalink
HOTFIX: fix compilation error (#8424)
Browse files Browse the repository at this point in the history
Reviewers: Matthias J. Sax <[email protected]>, Chia-Ping Tsai <[email protected]>, Guozhang Wang <[email protected]
  • Loading branch information
Boyang Chen authored Apr 4, 2020
1 parent 23b4d87 commit 0eab920
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ public Map<String, Object> getProducerConfigs(final String clientId) {
props.putAll(clientProvidedProps);

// When using EOS alpha, stream should auto-downgrade the transactional commit protocol to be compatible with older brokers.
if (StreamThread.eosAlphaEnabled(this)) {
if (StreamThread.processingMode(this) == StreamThread.ProcessingMode.EXACTLY_ONCE_ALPHA) {
props.put("internal.auto.downgrade.txn.commit", true);
}

Expand Down

0 comments on commit 0eab920

Please sign in to comment.