From e4aec711ab3e067aa8fb813af6c8ac04eab3c710 Mon Sep 17 00:00:00 2001 From: yuruguo Date: Wed, 22 Sep 2021 14:34:52 +0800 Subject: [PATCH] [pulsar-admin] Allow setting --forward-source-message-property to false when updating a pulsar function --- .../src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java index 909f838f06b2c..065b32d582ccc 100644 --- a/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java +++ b/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdFunctions.java @@ -271,7 +271,7 @@ abstract class FunctionDetailsCommand extends BaseCommand { protected Boolean retainKeyOrdering; @Parameter(names = "--batch-builder", description = "BatcherBuilder provides two types of batch construction methods, DEFAULT and KEY_BASED. The default value is: DEFAULT") protected String batchBuilder; - @Parameter(names = "--forward-source-message-property", description = "Forwarding input message's properties to output topic when processing") + @Parameter(names = "--forward-source-message-property", description = "Forwarding input message's properties to output topic when processing (use false to disable it)", arity = 1) protected Boolean forwardSourceMessageProperty = true; @Parameter(names = "--subs-name", description = "Pulsar source subscription name if user wants a specific subscription-name for input-topic consumer") protected String subsName;