This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kafka-sql-ex-pooling in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit c4c2d1f1ca8ca8af20c27836a8f3a8149385288c Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Oct 13 07:26:39 2021 +0200 Added Kafka to SQL with exchange pooling profiling example, updated README --- profiling/kafka-sql-exchange-pooling/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/profiling/kafka-sql-exchange-pooling/README.md b/profiling/kafka-sql-exchange-pooling/README.md index 7fe1567..c07b197 100644 --- a/profiling/kafka-sql-exchange-pooling/README.md +++ b/profiling/kafka-sql-exchange-pooling/README.md @@ -1,4 +1,4 @@ -# Kafka to SQL +# Kafka to SQL with Exchange pooling First of all run the command to start PostgreSQL @@ -62,7 +62,7 @@ docker run --rm -ti \ -v $PWD/data:/etc/camel:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/kafka-sql:1.0-SNAPSHOT-jvm + quay.io/oscerd/kafka-sql-exchange-pooling:1.0-SNAPSHOT-jvm ``` ## Enabling JFR @@ -74,7 +74,7 @@ docker run --rm -ti \ -v $PWD/jfr:/work/jfr:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/kafka-nats:1.0-SNAPSHOT-jvm + quay.io/oscerd/kafka-sql-exchange-pooling:1.0-SNAPSHOT-jvm ``` Now you can start JFR with the following command @@ -98,7 +98,7 @@ docker run --rm -ti \ -v async_profiler_path:/work/async-profiler:Z \ -e CAMEL_K_CONF=/etc/camel/application.properties \ --network="host" \ - quay.io/oscerd/kafka-sql:1.0-SNAPSHOT-jvm + quay.io/oscerd/kafka-sql-exchange-pooling:1.0-SNAPSHOT-jvm ``` Where async profiler path is the path of your async profiler on your host machine. @@ -128,7 +128,7 @@ docker run --rm -ti \ --network="host" \ -m 128m \ --cpu-quota="25000" \ - quay.io/oscerd/kafka-sql:1.0-SNAPSHOT-jvm + quay.io/oscerd/kafka-sql-exchange-pooling:1.0-SNAPSHOT-jvm ``` In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.
