This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 9bdc9d2  add functionsWorkerServiceCustomConfigs to 
functionsWorkerServiceNarPackage (#10504)
9bdc9d2 is described below

commit 9bdc9d2768c711efe10556aa8d4df3a4db83d92c
Author: Rui Fu <[email protected]>
AuthorDate: Sat May 8 13:34:31 2021 +0800

    add functionsWorkerServiceCustomConfigs to functionsWorkerServiceNarPackage 
(#10504)
---
 .../main/java/org/apache/pulsar/functions/worker/WorkerConfig.java  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
index f8f6b66..84978d8 100644
--- 
a/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
+++ 
b/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/worker/WorkerConfig.java
@@ -534,6 +534,12 @@ public class WorkerConfig implements Serializable, 
PulsarConfiguration {
 
     @FieldContext(
             category = CATEGORY_WORKER,
+            doc = "The additional configs for the function worker service if 
functionsWorkerServiceNarPackage provided"
+    )
+    private Map<String, Object> functionsWorkerServiceCustomConfigs = 
Collections.emptyMap();
+
+    @FieldContext(
+            category = CATEGORY_WORKER,
             doc = "Enable to expose Pulsar Admin Client from Function Context, 
default is disabled"
     )
     private boolean exposeAdminClientEnabled = false;

Reply via email to