guozhangwang commented on code in PR #12672: URL: https://github.com/apache/kafka/pull/12672#discussion_r991547777
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/ApplicationEvent.java: ########## @@ -20,4 +20,14 @@ * This is the abstract definition of the events created by the KafkaConsumer API */ abstract public class ApplicationEvent { + public final EventType type; + + public ApplicationEvent(EventType type) { + this.type = type; + } + + public enum EventType { + COMMIT, + NOOP, Review Comment: Thanks for clarifying this, makes sense. -- 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