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/21 06:48:01 UTC

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

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 2d5cb6a301b3ec313aeebe28badc197d64c482a0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Jan 21 07:29:38 2022 +0100

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

diff --git a/profiling/kafka/kafka-nats/README.md b/profiling/kafka/kafka-nats/README.md
index bb6c26a..1c17f9e 100644
--- a/profiling/kafka/kafka-nats/README.md
+++ b/profiling/kafka/kafka-nats/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.