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


The following commit(s) were added to refs/heads/main by this push:
     new c9b8e89  Kafka Minio: Added instructions for Kafka installation 
through ansible role
c9b8e89 is described below

commit c9b8e89b2e8d8d2215c2e837f1040aa343d06a3d
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Sep 16 13:20:05 2021 +0200

    Kafka Minio: Added instructions for Kafka installation through ansible role
---
 profiling/kafka-minio/README.md | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/profiling/kafka-minio/README.md b/profiling/kafka-minio/README.md
index 8d43aef..b23c20a 100644
--- a/profiling/kafka-minio/README.md
+++ b/profiling/kafka-minio/README.md
@@ -8,6 +8,31 @@ docker run -e MINIO_ROOT_USER=minio -e 
MINIO_ROOT_PASSWORD=miniostorage --net=ho
 
 In the routes.yaml file, set correctly the Minio credentials for your bucket.
 
+Also you'll need to run a Kafka cluster to point to. In this case you could 
use an ansible role like https://github.com/oscerd/kafka-ansible-role
+
+And set up a file deploy.yaml with the following content:
+
+```yaml
+- name: role kafka
+  hosts: localhost
+  remote_user: user
+  
+  roles:
+    - role: kafka-ansible-role
+      kafka_version: 2.8.0
+      path_dir: /home/user/
+      unarchive_dest_dir: /home/user/kafka/demo/
+      start_kafka: true
+```
+
+and then run
+
+```shell script
+ansible-playbook -v deploy.yaml
+```
+
+This should start a Kafka instance for you, on your local machine.
+
 build:
 ```shell script
 ./mvnw clean package

Reply via email to