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

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

commit a1320ef10a897ded3333e2faf1d5e6fabd63975b
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Fri Oct 1 06:52:11 2021 +0200

    MongoDB to Kafka: Pass the script as input to mongo command, so we could 
parameterized the script
---
 profiling/mongo-kafka/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiling/mongo-kafka/README.md b/profiling/mongo-kafka/README.md
index d056cd4..ab01015 100644
--- a/profiling/mongo-kafka/README.md
+++ b/profiling/mongo-kafka/README.md
@@ -9,7 +9,7 @@ docker run --net=host --name mongodb -e 
MONGO_INITDB_ROOT_USERNAME=mongoadmin -e
 Now you need to setup Database and collection:
 
 ```shell script
-cat scripts/populate.js | docker exec -i <container_id> mongo -u mongoadmin -p 
secret --quiet
+docker exec -i <container_id> mongo -u mongoadmin -p secret --quiet < 
scripts/populate.js 
 ```
 
 The MongoDB setup is done now.

Reply via email to