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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 25324c4e682338435e1245843aa0b9b5197f2ae0
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Sep 8 14:20:42 2021 +0200

    Google Pubsub Source Kamelets Added Concurrent Consumers number parameter
---
 google-pubsub-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/google-pubsub-source.kamelet.yaml 
b/google-pubsub-source.kamelet.yaml
index 97e74c9..2dc150f 100644
--- a/google-pubsub-source.kamelet.yaml
+++ b/google-pubsub-source.kamelet.yaml
@@ -47,6 +47,11 @@ spec:
         description: The max number of messages to receive from the server in 
a single API call
         type: integer
         default: 1
+      concurrentConsumers:
+        title: Max Messages Per Poll
+        description: The max number of messages to receive from the server in 
a single API call
+        type: integer
+        default: 1        
   dependencies:
     - "camel:kamelet"
     - "camel:google-pubsub"
@@ -58,5 +63,6 @@ spec:
         serviceAccountKey: "base64:{{serviceAccountKey}}"
         synchronousPull: "{{synchronousPull}}"
         maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
+        concurrentConsumers: "{{concurrentConsumers}}"
       steps:
       - to: kamelet:sink

Reply via email to