lianetm commented on code in PR #17150:
URL: https://github.com/apache/kafka/pull/17150#discussion_r1820593188


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerUtils.java:
##########
@@ -258,4 +258,11 @@ public static KafkaException 
maybeWrapAsKafkaException(Throwable t, String messa
         else
             return new KafkaException(message, t);
     }
+
+    public static void maybeUpdateLastSeenEpochIfNewer(ConsumerMetadata 
metadata, final Map<TopicPartition, OffsetAndMetadata> offsets) {

Review Comment:
   Once we have all the calls to this metadata update consistently in the 
background, it will probably make sense to move this helper closer to 
AppEventProcessor where it's used, what do you think?



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