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 2022/01/20 13:35:57 UTC

[camel-performance-tests] branch main updated (7e9e2c2 -> eda439a)

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-performance-tests.git.


    from 7e9e2c2  Kafka to Azure Storage Blob with Exchange pooling: Added a camel-jbang route
     new 60da346  Kafka to Minio: Added a camel-jbang section to the README
     new ed7ab00  Kafka to Minio: Added a camel-jbang route
     new 3d39d81  Kafka to Minio with Exchange pooling: Added a camel-jbang section to the README
     new eda439a  Kafka to Minio with Exchange Pooling: Add camel-jbang route

The 4 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:
 profiling/kafka/kafka-minio-exchange-pooling/README.md | 12 ++++++++++++
 .../sources/{routes.yaml => camel-jbang-route.yaml}    | 18 +++++++++---------
 profiling/kafka/kafka-minio/README.md                  | 12 ++++++++++++
 .../data/sources/camel-jbang-route.yaml}               | 18 +++++++++---------
 4 files changed, 42 insertions(+), 18 deletions(-)
 copy profiling/kafka/kafka-minio-exchange-pooling/data/sources/{routes.yaml => camel-jbang-route.yaml} (75%)
 copy profiling/kafka/{kafka-minio-exchange-pooling/data/sources/routes.yaml => kafka-minio/data/sources/camel-jbang-route.yaml} (75%)

[camel-performance-tests] 01/04: Kafka to Minio: Added a camel-jbang section to the README

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-performance-tests.git

commit 60da34603013e9a3f381b4a5d7cb8ab91ee9f7c5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 20 14:31:15 2022 +0100

    Kafka to Minio: Added a camel-jbang section to the README
---
 profiling/kafka/kafka-minio/README.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/profiling/kafka/kafka-minio/README.md b/profiling/kafka/kafka-minio/README.md
index 9b3b460..53c5efd 100644
--- a/profiling/kafka/kafka-minio/README.md
+++ b/profiling/kafka/kafka-minio/README.md
@@ -124,6 +124,18 @@ docker run --rm -ti \
 
 In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.
 
+## Running this profiling example with Camel-Jbang
+
+You could also leveraging the camel-jbang module. From Camel 3.15.0 (still to be released) it will support the profiling feature.
+
+What you need to do is simply running this commands:
+
+```shell script
+jbang  -Dcamel.jbang.version=3.15.0-SNAPSHOT  camel@apache/camel run --jfr-profile=profile data/sources/camel-jbang-route.yaml
+```
+
+You'll get at jfr recording file once the application will be stopped in your working directory.
+
 ## HEAP Sizing
 
 In the pom you can also set a different Heap Size. The default is 64 Mb.

[camel-performance-tests] 04/04: Kafka to Minio with Exchange Pooling: Add camel-jbang route

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-performance-tests.git

commit eda439a0fb7e785a224ead22938224f90af4076a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 20 14:35:01 2022 +0100

    Kafka to Minio with Exchange Pooling: Add camel-jbang route
---
 .../data/sources/camel-jbang-route.yaml            | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/profiling/kafka/kafka-minio-exchange-pooling/data/sources/camel-jbang-route.yaml b/profiling/kafka/kafka-minio-exchange-pooling/data/sources/camel-jbang-route.yaml
new file mode 100644
index 0000000..13ccb3f
--- /dev/null
+++ b/profiling/kafka/kafka-minio-exchange-pooling/data/sources/camel-jbang-route.yaml
@@ -0,0 +1,33 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+- route:
+    from: 
+      uri: "kamelet:kafka-not-secured-source"
+      parameters:
+        bootstrapServers: "localhost:9092"
+        topic: "testtopic"
+      steps:
+        - to: 
+            uri: "kamelet:minio-sink"
+            parameters:
+              bucketName: "camel-kafka-connector"
+              accessKey: "minio"
+              secretKey: "miniostorage"
+              endpoint: "http://127.0.0.1:9000"
+              autoCreateBucket: true
+

[camel-performance-tests] 02/04: Kafka to Minio: Added a camel-jbang route

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-performance-tests.git

commit ed7ab0099b9554154dd8f7d3c1e2a71cba7b9408
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 20 14:32:05 2022 +0100

    Kafka to Minio: Added a camel-jbang route
---
 .../data/sources/camel-jbang-route.yaml            | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/profiling/kafka/kafka-minio/data/sources/camel-jbang-route.yaml b/profiling/kafka/kafka-minio/data/sources/camel-jbang-route.yaml
new file mode 100644
index 0000000..13ccb3f
--- /dev/null
+++ b/profiling/kafka/kafka-minio/data/sources/camel-jbang-route.yaml
@@ -0,0 +1,33 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+- route:
+    from: 
+      uri: "kamelet:kafka-not-secured-source"
+      parameters:
+        bootstrapServers: "localhost:9092"
+        topic: "testtopic"
+      steps:
+        - to: 
+            uri: "kamelet:minio-sink"
+            parameters:
+              bucketName: "camel-kafka-connector"
+              accessKey: "minio"
+              secretKey: "miniostorage"
+              endpoint: "http://127.0.0.1:9000"
+              autoCreateBucket: true
+

[camel-performance-tests] 03/04: Kafka to Minio with Exchange pooling: Added a camel-jbang section to the README

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-performance-tests.git

commit 3d39d81504d7af20c68f9a08316df4e62aee169c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 20 14:34:06 2022 +0100

    Kafka to Minio with Exchange pooling: Added a camel-jbang section to the README
---
 profiling/kafka/kafka-minio-exchange-pooling/README.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/profiling/kafka/kafka-minio-exchange-pooling/README.md b/profiling/kafka/kafka-minio-exchange-pooling/README.md
index 71dad2d..4dfdf6f 100644
--- a/profiling/kafka/kafka-minio-exchange-pooling/README.md
+++ b/profiling/kafka/kafka-minio-exchange-pooling/README.md
@@ -124,6 +124,18 @@ docker run --rm -ti \
 
 In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.
 
+## Running this profiling example with Camel-Jbang
+
+You could also leveraging the camel-jbang module. From Camel 3.15.0 (still to be released) it will support the profiling feature.
+
+What you need to do is simply running this commands:
+
+```shell script
+jbang  -Dcamel.jbang.version=3.15.0-SNAPSHOT  camel@apache/camel run --jfr-profile=profile data/sources/camel-jbang-route.yaml
+```
+
+You'll get at jfr recording file once the application will be stopped in your working directory.
+
 ## Send messages to Kafka
 
 You'll need also kafkacat to be able to inject the filename header and use the burst script