-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-15716: KRaft support in EpochDrivenReplicationProtocolAcceptanceTest #15295
base: trunk
Are you sure you want to change the base?
Conversation
@stejani-cflt |
Thanks for the PR. |
@mimaison |
The build is still failing with Java 8 and Scala 2.12 so we can't merge this PR as is. |
Oh thank you! I'll fix it right away |
It seems this breaks all the You can run the core tests locally by running |
Hi, it looks like there is a typo in the ticket number in the title of this pull request. It says KAFKA-15761, but the change is related to KAFKA-15716 - the last two digits are switched, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
Why are we not updating shouldFollowLeaderEpochBasicWorkflow()
? If there's a good reason, please add a comment explaining why, otherwise let's update it like the other tests.
@BeforeEach | ||
override def setUp(testInfo: TestInfo): Unit = { | ||
if (TestInfoUtils.isKRaft(testInfo) && metadataVersion.isLessThan(IBP_3_3_IV0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why we need this change? metadataVersion
is hard coded to MetadataVersion.latestTesting
, how can it be less than IBP_3_3_IV0
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thank you! It seems unnecessary. I'll edit it
@mimaison I felt like I needed to think a little more, so I thought it would be a good idea to work on a follow-up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates. I still have a few questions.
@ParameterizedTest(name = TestInfoUtils.TestWithParameterizedQuorumName) | ||
@ValueSource(strings = Array("zk", "kraft")) | ||
def shouldNotAllowDivergentLogs(quorum: String): Unit = { | ||
if (quorum == "kraft" && metadataVersion.isLessThan(IBP_3_3_IV0)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this metadata check needed? can you explain it?
@BeforeEach | ||
override def setUp(testInfo: TestInfo): Unit = { | ||
if (TestInfoUtils.isKRaft(testInfo)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we not running setUp()
in KRaft mode?
This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please ask a committer for review. If the PR has merge conflicts, please update it with the latest from trunk (or appropriate release branch) If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed. |
Committer Checklist (excluded from commit message)