This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch nats-kafka-script in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 663e1af3aa304b91a1a628a0bd7510c7e3b63c33 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Nov 2 15:24:38 2021 +0100 Updated README for Nats Kafka --- profiling/nats-kafka/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/profiling/nats-kafka/README.md b/profiling/nats-kafka/README.md index ea0fb0e..8224fb2 100644 --- a/profiling/nats-kafka/README.md +++ b/profiling/nats-kafka/README.md @@ -132,13 +132,14 @@ In the pom you can also set a different Heap Size. The default is 64 Mb. ## Sending Messages to NATS -You should use nats-pub command and run something like +You need the nats-pub bash command installed and run ```shell script -for i in {1..50000}; do nats-pub -s <servers> <subject_name> "Hello from Nats"; done +./nats-bulk.sh -b 127.0.0.1 -t test.nats -p "Test" -n 50000 ``` -You'll send 50000 messages to <subject_name> NATS Topic. + +You'll send 50000 messages to test.nats Topic with payload "Test". ## Read messages from Kafka
