AndrewJSchofield commented on code in PR #14864: URL: https://github.com/apache/kafka/pull/14864#discussion_r1409822776
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/GlobalStreamThread.java: ########## @@ -454,4 +480,19 @@ public void shutdown() { public Map<MetricName, Metric> consumerMetrics() { return Collections.unmodifiableMap(globalConsumer.metrics()); } + + public KafkaFuture<Uuid> globalConsumerInstanceId(final Duration timeout) { Review Comment: Yes, I saw the `volatile`. I agree that the ordering is sufficient to make it safe. -- 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