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 2022/01/17 13:16:59 UTC
[camel-performance-tests] 02/03: Added Kafka to Solr exchange Pooling example
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch kafka-solr-ex-pooling
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit b29f4e39612678175575d16dcf348ce8fb60ff6c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 17 14:12:22 2022 +0100
Added Kafka to Solr exchange Pooling example
---
profiling/kafka/kafka-solr-exchange-pooling/README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/profiling/kafka/kafka-solr-exchange-pooling/README.md b/profiling/kafka/kafka-solr-exchange-pooling/README.md
index e280111..71d4237 100644
--- a/profiling/kafka/kafka-solr-exchange-pooling/README.md
+++ b/profiling/kafka/kafka-solr-exchange-pooling/README.md
@@ -1,4 +1,4 @@
-# Kafka to Solr
+# Kafka to Solr with Exchange Pooling
In the routes.yaml file, you'll need to set correctly the configuration for Solr and Kafka.
@@ -38,7 +38,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-solr:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/kafka-solr-exchange-pooling:1.0-SNAPSHOT-jvm
```
## Solr instance
@@ -58,7 +58,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-solr:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/kafka-solr-exchange-pooling:1.0-SNAPSHOT-jvm
```
You'll need a running Kafka broker locally on your host.
@@ -84,7 +84,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-solr:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/kafka-solr-exchange-pooling:1.0-SNAPSHOT-jvm
```
Where async profiler path is the path of your async profiler on your host machine.
@@ -114,7 +114,7 @@ docker run --rm -ti \
--network="host" \
-m 128m \
--cpu-quota="25000" \
- quay.io/oscerd/kafka-solr:1.0-SNAPSHOT-jvm
+ quay.io/oscerd/kafka-solr-exchange-pooling:1.0-SNAPSHOT-jvm
```
In this case we are allocating 128 Mb Memory to the container and 0.25% cpus.