This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 8fd0af1 Improve camel-example-cdi-cassandraql readme (#2912)
8fd0af1 is described below
commit 8fd0af1d8c511c1c010a42081afdb1b0fa150c52
Author: Denis Istomin <[email protected]>
AuthorDate: Tue May 14 19:02:39 2019 +0500
Improve camel-example-cdi-cassandraql readme (#2912)
---
examples/camel-example-cdi-cassandraql/README.md | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/examples/camel-example-cdi-cassandraql/README.md
b/examples/camel-example-cdi-cassandraql/README.md
index e925e44..88515ba 100644
--- a/examples/camel-example-cdi-cassandraql/README.md
+++ b/examples/camel-example-cdi-cassandraql/README.md
@@ -8,12 +8,15 @@ The example get the list of pods from a Kubernetes cluster
and print name and st
The `camel-cdi`, `camel-core` and `camel-cassandraql` components are used in
this example.
The example assumes you have a running Cassandra Cluster in your environment.
We will use Docker to spin up this cluster.
-As first step we will need to run a single node cluster:
+By default cluster requires significant amount of RAM memory (approx. 12GB).
+You can limit memory of docker container specifying parameter: `--env
MAX_HEAP_SIZE`
+
+As first step we will need to run a single node cluster:
```
-$ docker run --name master_node -dt oscerd/cassandra
-$ docker run --name node1 -d -e SEED="$(docker inspect --format='{{
.NetworkSettings.IPAddress }}' master_node)" oscerd/cassandra
-$ docker run --name node2 -d -e SEED="$(docker inspect --format='{{
.NetworkSettings.IPAddress }}' master_node)" oscerd/cassandra
+$ docker run --name master_node --env MAX_HEAP_SIZE='800M' -dt oscerd/cassandra
+$ docker run --name node1 --env MAX_HEAP_SIZE='800M' -d -e SEED="$(docker
inspect --format='{{ .NetworkSettings.IPAddress }}' master_node)"
oscerd/cassandra
+$ docker run --name node2 --env MAX_HEAP_SIZE='800M' -d -e SEED="$(docker
inspect --format='{{ .NetworkSettings.IPAddress }}' master_node)"
oscerd/cassandra
```
We now have three nodes in our cluster.