You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/10/15 13:36:04 UTC
[camel-performance-tests] 05/06: PostgreSQL Kafka Readme updated
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch sql-kafka-to-postgresql
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 5f9fcb0802504a4a2ad4b781c88378a06b700df2
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Oct 15 15:30:21 2021 +0200
PostgreSQL Kafka Readme updated
---
profiling/postgresql-kafka-exchange-pooling/README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/profiling/postgresql-kafka-exchange-pooling/README.md b/profiling/postgresql-kafka-exchange-pooling/README.md
index a95bf8b..c5c800b 100644
--- a/profiling/postgresql-kafka-exchange-pooling/README.md
+++ b/profiling/postgresql-kafka-exchange-pooling/README.md
@@ -1,4 +1,4 @@
-# SQL to Kafka
+# PostgreSQL to Kafka
First of all run the command to start PostgreSQL
@@ -68,7 +68,7 @@ docker run --rm -ti \
-v $PWD/data:/etc/camel:Z \
-e CAMEL_K_CONF=/etc/camel/application.properties \
--network="host" \
- quay.io/oscerd/sql-kafka:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/postgresql-kafka:1.0-SNAPSHOT-jvm
```
## Enabling JFR
@@ -80,7 +80,7 @@ docker run --rm -ti \
-v $PWD/jfr:/work/jfr:Z \
-e CAMEL_K_CONF=/etc/camel/application.properties \
--network="host" \
- quay.io/oscerd/sql-kafka:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/postgresql-kafka:1.0-SNAPSHOT-jvm
```
Now you can start JFR with the following command
@@ -104,7 +104,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/sql-kafka:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/postgresql-kafka:1.0-SNAPSHOT-jvm
```
Where async profiler path is the path of your async profiler on your host machine.
@@ -134,7 +134,7 @@ docker run --rm -ti \
--network="host" \
-m 128m \
--cpu-quota="25000" \
- quay.io/oscerd/sql-kafka:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/postgresql-kafka:1.0-SNAPSHOT-jvm
```
In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.