You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2022/04/11 02:07:16 UTC
[kafka] branch trunk updated: MINOR: Change the log output information in the KafkaConsumer assign method (#12026)
This is an automated email from the ASF dual-hosted git repository.
showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4ad439c56d MINOR: Change the log output information in the KafkaConsumer assign method (#12026)
4ad439c56d is described below
commit 4ad439c56db551697ea366dc4986eee5fc288706
Author: RivenSun <91...@users.noreply.github.com>
AuthorDate: Mon Apr 11 10:06:56 2022 +0800
MINOR: Change the log output information in the KafkaConsumer assign method (#12026)
Reviewers: Luke Chen <sh...@gmail.com>
---
.../src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java
index d0ef1a0cbe..a49c89560f 100644
--- a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java
+++ b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java
@@ -1120,7 +1120,7 @@ public class KafkaConsumer<K, V> implements Consumer<K, V> {
if (coordinator != null)
this.coordinator.maybeAutoCommitOffsetsAsync(time.milliseconds());
- log.info("Subscribed to partition(s): {}", Utils.join(partitions, ", "));
+ log.info("Assigned to partition(s): {}", Utils.join(partitions, ", "));
if (this.subscriptions.assignFromUser(new HashSet<>(partitions)))
metadata.requestUpdateForNewTopics();
}