You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by te...@apache.org on 2023/11/11 07:21:13 UTC
(pulsar) branch branch-3.1 updated: [fix][client] Fix print error log 'Auto getting partitions failed' when expend partition. (#21485)
This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 515cf1d91a7 [fix][client] Fix print error log 'Auto getting partitions failed' when expend partition. (#21485)
515cf1d91a7 is described below
commit 515cf1d91a7e39d9ea91d166041488950dd5dc0d
Author: hanmz <gu...@tencent.com>
AuthorDate: Sat Nov 11 12:36:29 2023 +0800
[fix][client] Fix print error log 'Auto getting partitions failed' when expend partition. (#21485)
---
.../java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java
index f780edc95c1..bf7f1066173 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PartitionedProducerImpl.java
@@ -436,7 +436,7 @@ public class PartitionedProducerImpl<T> extends ProducerBase<T> {
});
// call interceptor with the metadata change
onPartitionsChange(topic, currentPartitionNumber);
- return null;
+ return future;
}
} else {
log.error("[{}] not support shrink topic partitions. old: {}, new: {}",