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-19042: [5/N] Move PlaintextConsumerCommitTest to client-integration-tests module #19389

Open
wants to merge 8 commits into
base: trunk
Choose a base branch
from

Conversation

m1a2st
Copy link
Collaborator

@m1a2st m1a2st commented Apr 6, 2025

Use Java to rewrite PlaintextConsumerCommitTest by new test infra and
move it to client-integration-tests module.

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) clients labels Apr 6, 2025
@github-actions github-actions bot added the core Kafka Broker label Apr 6, 2025

private void sendAndAwaitAsyncCommit(
Consumer<byte[], byte[]> consumer,
Optional<Map<TopicPartition, OffsetAndMetadata>> offsetsOpt
Copy link
Member

Choose a reason for hiding this comment

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

It looks like all offsetOpt input is not empty. Do you think that we can remove Optional<> from sendAndAwaitAsyncCommit and RetryCommitCallback?

Topic.GROUP_METADATA_TOPIC_NAME,
Integer.parseInt(OFFSETS_TOPIC_PARTITIONS),
Short.parseShort(OFFSETS_TOPIC_REPLICATION)
);
Copy link
Member

Choose a reason for hiding this comment

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

Could you add some comments about why we need to manually create internal topic here? It looks like we don't set AUTO_CREATE_TOPICS_ENABLE_CONFIG as false.

@github-actions github-actions bot removed the triage PRs from the community label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved clients core Kafka Broker tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants