This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch sample
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 5f103579c7c604d91898d87b1cca292be9a6832f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Sep 28 13:04:35 2021 +0200

    Kafka Nats Profiling Example: README updated
---
 profiling/kafka-nats/README.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/profiling/kafka-nats/README.md b/profiling/kafka-nats/README.md
index b819aa2..344b7f8 100644
--- a/profiling/kafka-nats/README.md
+++ b/profiling/kafka-nats/README.md
@@ -1,12 +1,12 @@
-# Kafka to Minio
+# Kafka to NATS
 
-First of all run the command to start Minio
+First of all run the command to start NATS
 
 ```shell script
-docker run -e MINIO_ROOT_USER=minio -e MINIO_ROOT_PASSWORD=miniostorage 
--net=host minio/minio server /data --console-address ":9001"
+docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
 ```
 
-In the routes.yaml file, set correctly the Minio credentials for your bucket.
+In the routes.yaml file, set correctly the Topic name for NATS Server.
 
 Also you'll need to run a Kafka cluster to point to. In this case you could 
use an ansible role like https://github.com/oscerd/kafka-ansible-role
 
@@ -53,7 +53,7 @@ docker run --rm -ti \
     -v $PWD/data:/etc/camel:Z \
     -e CAMEL_K_CONF=/etc/camel/application.properties \
     --network="host" \
-    quay.io/oscerd/kafka-minio:1.0-SNAPSHOT-jvm
+    quay.io/oscerd/kafka-nats:1.0-SNAPSHOT-jvm
 ```
 
 ## Enabling JFR 
@@ -65,7 +65,7 @@ docker run --rm -ti \
     -v $PWD/jfr:/work/jfr:Z \
     -e CAMEL_K_CONF=/etc/camel/application.properties \
     --network="host" \
-    quay.io/oscerd/kafka-minio:1.0-SNAPSHOT-jvm
+    quay.io/oscerd/kafka-nats:1.0-SNAPSHOT-jvm
 ```
 
 Now you can start JFR with the following command
@@ -89,7 +89,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/kafka-minio:1.0-SNAPSHOT-jvm
+    quay.io/oscerd/kafka-nats:1.0-SNAPSHOT-jvm
 ```
 
 Where async profiler path is the path of your async profiler on your host 
machine.
@@ -119,7 +119,7 @@ docker run --rm -ti \
     --network="host" \ 
     -m 128m \ 
     --cpu-quota="25000" \ 
-    quay.io/oscerd/kafka-minio:1.0-SNAPSHOT-jvm
+    quay.io/oscerd/kafka-nats:1.0-SNAPSHOT-jvm
 ```
 
 In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.

Reply via email to