This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch k-az-blob-ex-pooling-jbang in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 9482b6d38e7f419338e50d7fc28e770dc6c37e8e Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jan 20 14:21:36 2022 +0100 Kafka to Azure Storage Blob with Exchange pooling: Added a camel-jbang section to the README --- .../kafka-azure-storage-blob-exchange-pooling/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md b/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md index aa15705..2b319e5 100644 --- a/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md +++ b/profiling/kafka/kafka-azure-storage-blob-exchange-pooling/README.md @@ -113,6 +113,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