Skip to content
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-18677: Update ConsoleConsumerTest system test #18763

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

frankvicky
Copy link
Contributor

JIRA: KAFKA-18677
The ConsoleConsumerTest system test still relied on ZK, so it failed.
We should convert it to kraft.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) small Small PRs labels Jan 31, 2025
@frankvicky
Copy link
Contributor Author

e2e result on my local:
Screenshot from 2025-01-31 09-47-54

@@ -44,8 +44,7 @@ def setUp(self):
@cluster(num_nodes=3)
@matrix(security_protocol=['PLAINTEXT', 'SSL'], metadata_quorum=quorum.all_kraft)
@cluster(num_nodes=4)
@matrix(security_protocol=['SASL_SSL'], sasl_mechanism=['PLAIN'], metadata_quorum=quorum.all_kraft)
@matrix(security_protocol=['SASL_SSL'], sasl_mechanism=['SCRAM-SHA-256', 'SCRAM-SHA-512']) # SCRAM not yet supported with KRaft
@matrix(security_protocol=['SASL_SSL'], sasl_mechanism=['PLAIN', 'SCRAM-SHA-256', 'SCRAM-SHA-512'], metadata_quorum=quorum.all_kraft)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are here, I wonder if we could directly remove the usage of ZookeeperService in this class. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll give it a try.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have just removed the ZookeeperService and run the tests on my local. Here is the result:
Screenshot from 2025-01-31 17-55-15

JIRA: KAFKA-18677
The ConsoleConsumerTest system test still relied on ZK so it fails. We
should convert it to kraft.
Copy link
Member

@dajac dajac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dajac dajac merged commit d7a5b87 into apache:trunk Jan 31, 2025
6 checks passed
dajac pushed a commit that referenced this pull request Jan 31, 2025
This patch converts the ConsoleConsumerTest system test to only use KRaft.

Reviewers: David Jacot <[email protected]>
@dajac
Copy link
Member

dajac commented Jan 31, 2025

Merged to trunk and 4.0. Thanks.

@github-actions github-actions bot removed the triage PRs from the community label Feb 1, 2025
pdruley pushed a commit to pdruley/kafka that referenced this pull request Feb 12, 2025
This patch converts the ConsoleConsumerTest system test to only use KRaft.

Reviewers: David Jacot <[email protected]>
manoj-mathivanan pushed a commit to manoj-mathivanan/kafka that referenced this pull request Feb 19, 2025
This patch converts the ConsoleConsumerTest system test to only use KRaft.

Reviewers: David Jacot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved small Small PRs tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants