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
The following commit(s) were added to refs/heads/main by this push:
new 2aa5399 Updated README for Mongo Kafka
2aa5399 is described below
commit 2aa5399cc742b49a8dfe69bdc335d02c9573bb38
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Oct 6 14:08:03 2021 +0200
Updated README for Mongo Kafka
---
profiling/mongo-kafka/README.md | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/profiling/mongo-kafka/README.md b/profiling/mongo-kafka/README.md
index 9fa6c2a..a865af6 100644
--- a/profiling/mongo-kafka/README.md
+++ b/profiling/mongo-kafka/README.md
@@ -8,8 +8,15 @@ docker run --net=host --name mongodb -e
MONGO_INITDB_ROOT_USERNAME=mongoadmin -e
Now you need to setup Database and collection:
+There are three different scripts:
+ - populate-30000.js
+ - populate-40000.js
+ - populate-50000.js
+
+The collection dimension is 50000, and the scripts will fill the collection
with 30000, 40000 and 50000 entries, respectively.
+
```shell script
-docker exec -i <container_id> mongo -u mongoadmin -p secret --quiet <
scripts/populate.js
+docker exec -i <container_id> mongo -u mongoadmin -p secret --quiet <
scripts/populate-30000.js
```
The MongoDB setup is done now.