chiacyu commented on code in PR #15823: URL: https://github.com/apache/kafka/pull/15823#discussion_r1581992286
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java: ########## @@ -1491,7 +1490,7 @@ public void assign(Collection<TopicPartition> partitions) { // See the ApplicationEventProcessor.process() method that handles this event for more detail. applicationEventHandler.add(new AssignmentChangeEvent(subscriptions.allConsumed(), time.milliseconds())); - log.info("Assigned to partition(s): {}", join(partitions, ", ")); + log.info("Assigned to partition(s): {}", String.join(", ", Arrays.toString(partitions.toArray()))); Review Comment: I'm thinking to append `replace("[", "").replace("]", "")` to eliminate brackets. If these's any better representations please let me know. Thanks! -- 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