From 5fabe2aff2fd2ab67b21002e87525f35d4177ee3 Mon Sep 17 00:00:00 2001 From: feynmanlin Date: Sun, 6 Sep 2020 14:43:42 +0800 Subject: [PATCH] add print --- .../src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java index 7835372a0bcd7..a9aaf304a424d 100644 --- a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java +++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java @@ -1466,7 +1466,7 @@ private class GetMaxProducers extends CliCommand { @Override void run() throws PulsarAdminException { String persistentTopic = validatePersistentTopic(params); - admin.topics().getMaxProducers(persistentTopic); + print(admin.topics().getMaxProducers(persistentTopic)); } }