KAFKA-8531: Change default replication factor config#10532
KAFKA-8531: Change default replication factor config#10532mjsax merged 3 commits intoapache:trunkfrom
Conversation
8f2016a to
2480dcb
Compare
|
As test against older broker versions, I started https://jenkins.confluent.io/job/system-test-kafka-branch-builder/4463/ -- maybe we need to update some system tests... |
|
Was also wondering about a potential error message -- not sure atm what error message a user would get if they run against 2.3 brokers and if the error message would be clear. Should we do anything about it? |
Not sure either -- maybe you can use the soak test to spin up brokers on 2.2 against this PR and check out the error message + stack trace? I definitely think we should try to catch the error and log a more helpful error message (eg |
|
The logs show the following error: Do we think this would be sufficient? Or should we try to handle this specific |
|
Yikes -- no, I think we definitely need to handle that ourselves. I don't think users will have any idea what that means -- for one thing they'll wonder why they're suddenly seeing it now, and probably report it as a bug if we don't explicitly tell them that we changed the default replication factor. For another, how are they supposed to know how to interpret |
|
Updated the PR. The log now show: |
ableegoldman
left a comment
There was a problem hiding this comment.
Two nits, otherwise LGTM. Thanks for adding a more informative error
| */ | ||
| package org.apache.kafka.streams.processor.internals; | ||
|
|
||
| import java.util.Collection; |
There was a problem hiding this comment.
nit: import in the wrong place
streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopicManager.java
Show resolved
Hide resolved
|
I started a quick KIP for this change -- will wait until the KIP is accepted before merging. |
Call for review @cadonna @ableegoldman