philipnee commented on code in PR #14118: URL: https://github.com/apache/kafka/pull/14118#discussion_r1279701769
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/OffsetFetchApplicationEvent.java: ########## @@ -19,25 +19,33 @@ import org.apache.kafka.clients.consumer.OffsetAndMetadata; import org.apache.kafka.common.TopicPartition; -import java.time.Duration; import java.util.Map; import java.util.Set; import java.util.concurrent.CompletableFuture; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; public class OffsetFetchApplicationEvent extends ApplicationEvent { - final public CompletableFuture<Map<TopicPartition, OffsetAndMetadata>> future; - public final Set<TopicPartition> partitions; + private final CompletableFuture<Map<TopicPartition, OffsetAndMetadata>> future; + private final Set<TopicPartition> partitions; public OffsetFetchApplicationEvent(final Set<TopicPartition> partitions) { super(Type.FETCH_COMMITTED_OFFSET); this.partitions = partitions; this.future = new CompletableFuture<>(); Review Comment: CompletableApplicationEvent isn't available at the current trunk yet. I think it happens at a different commit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org