You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/02/12 14:59:59 UTC

(camel-kamelets) branch main updated (b422b471 -> 3d9b61dc)

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

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


    from b422b471 Updated CHANGELOG.md
     new 8a5baa1d Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Source Kamelet
     new aad15faa Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Not Secured Source
     new 117baf3f Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SCRAM Source
     new 7bb2674e Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SSL Source
     new 53e65cf0 Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Azure Schema Registry
     new b84ce529 Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry
     new 3d9b61dc Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry Not Secured Source

The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml    | 5 +++++
 kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml           | 5 +++++
 kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml       | 5 +++++
 kamelets/kafka-batch-not-secured-source.kamelet.yaml                 | 5 +++++
 kamelets/kafka-batch-scram-source.kamelet.yaml                       | 5 +++++
 kamelets/kafka-batch-source.kamelet.yaml                             | 5 +++++
 kamelets/kafka-batch-ssl-source.kamelet.yaml                         | 5 +++++
 .../kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml    | 5 +++++
 .../kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml       | 5 +++++
 .../kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml   | 5 +++++
 .../resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml   | 5 +++++
 .../main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml    | 5 +++++
 .../src/main/resources/kamelets/kafka-batch-source.kamelet.yaml      | 5 +++++
 .../src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml  | 5 +++++
 14 files changed, 70 insertions(+)


(camel-kamelets) 07/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry Not Secured Source

Posted by ac...@apache.org.
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 3d9b61dc6df25ff77e85a7337475953dffbeee1a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:53:05 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry Not Secured Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml    | 5 +++++
 .../kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml b/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
index f27f0be2..29e7381b 100644
--- a/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
+++ b/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
@@ -119,6 +119,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -152,6 +156,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
index f27f0be2..29e7381b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
@@ -119,6 +119,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -152,6 +156,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"


(camel-kamelets) 01/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Source Kamelet

Posted by ac...@apache.org.
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 8a5baa1d366845304986ba299d0cd6397d4d7158
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 14:45:27 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Source Kamelet
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-source.kamelet.yaml                             | 5 +++++
 .../src/main/resources/kamelets/kafka-batch-source.kamelet.yaml      | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/kafka-batch-source.kamelet.yaml b/kamelets/kafka-batch-source.kamelet.yaml
index 60d8f00c..333c8fa0 100644
--- a/kamelets/kafka-batch-source.kamelet.yaml
+++ b/kamelets/kafka-batch-source.kamelet.yaml
@@ -132,6 +132,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -164,6 +168,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"      
         topicIsPattern: "{{topicIsPattern}}"  
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
index 60d8f00c..333c8fa0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
@@ -132,6 +132,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -164,6 +168,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"      
         topicIsPattern: "{{topicIsPattern}}"  


(camel-kamelets) 03/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SCRAM Source

Posted by ac...@apache.org.
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 117baf3f7d9f771e4f5bb1cfd93fb6ea579d79b9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:21:00 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SCRAM Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-scram-source.kamelet.yaml                       | 5 +++++
 .../main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/kafka-batch-scram-source.kamelet.yaml b/kamelets/kafka-batch-scram-source.kamelet.yaml
index b1772ab3..93892b70 100644
--- a/kamelets/kafka-batch-scram-source.kamelet.yaml
+++ b/kamelets/kafka-batch-scram-source.kamelet.yaml
@@ -132,6 +132,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -164,6 +168,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
index b1772ab3..93892b70 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
@@ -132,6 +132,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -164,6 +168,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"


(camel-kamelets) 05/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Azure Schema Registry

Posted by ac...@apache.org.
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 53e65cf0f431017cd69871df9becfcb50b9cd1c7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:41:50 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Azure Schema Registry
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml       | 5 +++++
 .../kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml   | 5 +++++
 .../src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml  | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml b/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
index f74d2177..55ecc28a 100644
--- a/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
+++ b/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
@@ -139,6 +139,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -178,6 +182,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
index f74d2177..55ecc28a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
@@ -139,6 +139,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -178,6 +182,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml
index c0634eab..17bcb22b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-ssl-source.kamelet.yaml
@@ -156,6 +156,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -192,6 +196,7 @@ spec:
           maxPollRecords: "{{batchSize}}"
           pollTimeoutMs: "{{pollTimeout}}"
           maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+          batchingIntervalMs: "{{?batchingIntervalMs}}"
           batching: true
           kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
           topicIsPattern: "{{topicIsPattern}}"


(camel-kamelets) 06/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry

Posted by ac...@apache.org.
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 b84ce5290faf67a7b39c46cbb4af35faa995be58
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:51:00 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Apicurio Schema Registry
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml           | 5 +++++
 .../kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml       | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml b/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
index cfe97b84..3f03194c 100644
--- a/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
+++ b/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
@@ -125,6 +125,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       apicurioAuthServiceUrl:
         title: Apicurio Registry Auth Service URL
         description: The URL for Keycloak instance securing the Apicurio Registry
@@ -199,6 +203,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
index cfe97b84..3f03194c 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-apicurio-registry-source.kamelet.yaml
@@ -125,6 +125,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       apicurioAuthServiceUrl:
         title: Apicurio Registry Auth Service URL
         description: The URL for Keycloak instance securing the Apicurio Registry
@@ -199,6 +203,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"


(camel-kamelets) 04/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SSL Source

Posted by ac...@apache.org.
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 7bb2674ef9b2989ff1fa0b77d6c2cd7a0ec4928e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:23:20 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch SSL Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-ssl-source.kamelet.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kamelets/kafka-batch-ssl-source.kamelet.yaml b/kamelets/kafka-batch-ssl-source.kamelet.yaml
index c0634eab..17bcb22b 100644
--- a/kamelets/kafka-batch-ssl-source.kamelet.yaml
+++ b/kamelets/kafka-batch-ssl-source.kamelet.yaml
@@ -156,6 +156,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -192,6 +196,7 @@ spec:
           maxPollRecords: "{{batchSize}}"
           pollTimeoutMs: "{{pollTimeout}}"
           maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+          batchingIntervalMs: "{{?batchingIntervalMs}}"
           batching: true
           kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
           topicIsPattern: "{{topicIsPattern}}"


(camel-kamelets) 02/07: Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Not Secured Source

Posted by ac...@apache.org.
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 aad15faaf253005173f0b746918ae404949290d3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Feb 12 15:10:12 2025 +0100

    Kafka Batch Source: Reflect changes from CAMEL-21691 - Kafka Batch Not Secured Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-batch-not-secured-source.kamelet.yaml                 | 5 +++++
 .../resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml   | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/kamelets/kafka-batch-not-secured-source.kamelet.yaml b/kamelets/kafka-batch-not-secured-source.kamelet.yaml
index 23cbd9d8..4d5bec64 100644
--- a/kamelets/kafka-batch-not-secured-source.kamelet.yaml
+++ b/kamelets/kafka-batch-not-secured-source.kamelet.yaml
@@ -101,6 +101,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -130,6 +134,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
index 23cbd9d8..4d5bec64 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
@@ -101,6 +101,10 @@ spec:
         title: Max Poll Interval
         description: The maximum delay between invocations of poll() when using consumer group management
         type: int
+      batchingIntervalMs:
+        title: Batching Interval
+        description: In consumer batching mode, then this option is specifying a time in millis, to trigger batch completion eager when the current batch size has not reached the maximum size defined by maxPollRecords. Notice the trigger is not exact at the given interval, as this can only happen between kafka polls (see pollTimeoutMs option).
+        type: int
       topicIsPattern:
         title: Topic Is Pattern
         description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
@@ -130,6 +134,7 @@ spec:
         maxPollRecords: "{{batchSize}}"
         pollTimeoutMs: "{{pollTimeout}}"
         maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+        batchingIntervalMs: "{{?batchingIntervalMs}}"
         batching: true
         kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
         topicIsPattern: "{{topicIsPattern}}"