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:24 UTC
[camel-performance-tests] branch camel-jbang created (now b5df18b)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch camel-jbang
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git.
at b5df18b Kafka to Minio with Exchange Pooling: Add camel-jbang route
This branch includes the following new commits:
new 52248a5 Kafka to Minio: Added a camel-jbang section to the README
new f5c42ce Kafka to Minio: Added a camel-jbang route
new fb4972e Kafka to Minio with Exchange pooling: Added a camel-jbang section to the README
new b5df18b 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.
[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 camel-jbang
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit f5c42cee50ed607f4555e8cdc9150235bfd17c81
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 camel-jbang
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit fb4972e05538a88b99b21abb144ea7d9de095b81
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
[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 camel-jbang
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit b5df18b73881879313e442b6df9031bd277998b6
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] 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 camel-jbang
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 52248a539ddb1ae59a857e7ccf2e86f761735568
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.