This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch nats-kafka in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit c0c70d56c48c6d262831d799d0a3625561c22bd7 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Nov 2 14:14:28 2021 +0100 Nats Kafka fixed README --- profiling/nats-kafka/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/profiling/nats-kafka/README.md b/profiling/nats-kafka/README.md index acbec9d..ea0fb0e 100644 --- a/profiling/nats-kafka/README.md +++ b/profiling/nats-kafka/README.md @@ -1,4 +1,4 @@ -# MongoDB to Kafka +# NATS to Kafka 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/mongo-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka: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/mongo-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka: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/mongo-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka: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/mongo-kafka:1.0-SNAPSHOT-jvm + quay.io/oscerd/nats-kafka:1.0-SNAPSHOT-jvm ``` In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.
