-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
base: trunk
Are you sure you want to change the base?
Conversation
|
||
private void sendAndAwaitAsyncCommit( | ||
Consumer<byte[], byte[]> consumer, | ||
Optional<Map<TopicPartition, OffsetAndMetadata>> offsetsOpt |
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.
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) | ||
); |
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.
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
.
Use Java to rewrite
PlaintextConsumerCommitTest
by new test infra andmove it to client-integration-tests module.