philipnee commented on code in PR #12672:
URL: https://github.com/apache/kafka/pull/12672#discussion_r991502245


##########
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, I think the NOOP event will be moved to the test package in the 
future PR; I left it here to elucidate the purpose of a few methods in the 
background thread.



-- 
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

Reply via email to