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 da109eda6da126d855deb1e85141c2cb86f31a95 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Oct 6 14:03:57 2021 +0200 Mongo to Kafka: Distinguish Scripts, 50000 dimension and 50000 entries --- profiling/mongo-kafka/script/populate-50000.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiling/mongo-kafka/script/populate-50000.js b/profiling/mongo-kafka/script/populate-50000.js new file mode 100644 index 0000000..bb90596 --- /dev/null +++ b/profiling/mongo-kafka/script/populate-50000.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" } }) +}
