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 64eeb8adc64a5ee6a7c8662b5ad0e8968fa24ee3 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Nov 3 15:13:11 2021 +0100 Added Nats to Kafka with Exchange Pooling profiling example: README updated --- profiling/nats-kafka-exchange-pooling/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/profiling/nats-kafka-exchange-pooling/README.md b/profiling/nats-kafka-exchange-pooling/README.md index 8224fb2..1469048 100644 --- a/profiling/nats-kafka-exchange-pooling/README.md +++ b/profiling/nats-kafka-exchange-pooling/README.md @@ -1,4 +1,4 @@ -# NATS to Kafka +# NATS to Kafka with Exchange Pooling First of all run the command to start NATS @@ -55,7 +55,7 @@ docker run --rm -ti \ -v $PWD/data:/etc/camel:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/nats-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka-exchange-pooling:1.0-SNAPSHOT-jvm ``` ## Enabling JFR @@ -67,7 +67,7 @@ docker run --rm -ti \ -v $PWD/jfr:/work/jfr:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/nats-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka-exchange-pooling:1.0-SNAPSHOT-jvm ``` Now you can start JFR with the following command @@ -91,7 +91,7 @@ docker run --rm -ti \ -v async_profiler_path:/work/async-profiler:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/nats-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka-exchange-pooling:1.0-SNAPSHOT-jvm ``` Where async profiler path is the path of your async profiler on your host machine. @@ -121,7 +121,7 @@ docker run --rm -ti \ --network="host" \ -m 128m \ --cpu-quota="25000" \ - quay.io/oscerd/nats-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka-exchange-pooling:1.0-SNAPSHOT-jvm ``` In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.
