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 <anco...@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.