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
commit e89747f8ec0eb0a99bb75975c74a352e79167bc4 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Oct 6 14:03:32 2021 +0200 Mongo to Kafka: Distinguish Scripts, 50000 dimension and 40000 entries --- profiling/mongo-kafka/script/populate-40000.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiling/mongo-kafka/script/populate-40000.js b/profiling/mongo-kafka/script/populate-40000.js new file mode 100644 index 0000000..bb90596 --- /dev/null +++ b/profiling/mongo-kafka/script/populate-40000.js @@ -0,0 +1,5 @@ +use test +db.createCollection("log", { capped : true, size : 5242880, max : 50000 } ) +for (var i = 1; i <= 30000; i++) { + db.log.insert({ item: "canvas", qty: 100, tags: ["cotton"], size: { h: 28, w: i, uom: "cm" } }) +}
