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/09/27 09:38:11 UTC

[camel-performance-tests] 01/06: Kafka-S3 Sample: Added Kafka ansible role to be used

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch kafka-s3-fix
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 3b8398073bd8400d85acf2e0f5ca29abd1826f3b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 27 11:25:15 2021 +0200

    Kafka-S3 Sample: Added Kafka ansible role to be used
---
 profiling/kafka-s3/README.md | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/profiling/kafka-s3/README.md b/profiling/kafka-s3/README.md
index f8bfe40..509080c 100644
--- a/profiling/kafka-s3/README.md
+++ b/profiling/kafka-s3/README.md
@@ -2,6 +2,31 @@
 
 In the routes.yaml file, set correctly the AWS credentials for your S3 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 package