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/04/01 16:39:24 UTC

[camel-examples] 04/05: Added utilities

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-examples.git

commit c32160c57440f155c6b6a4817e0d736e6816af2e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Apr 1 18:34:10 2021 +0200

    Added utilities
---
 examples/main-endpointdsl-kafka-aws2-s3/data/burst.sh | 5 +++++
 examples/main-endpointdsl-kafka-aws2-s3/data/msg.txt  | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/examples/main-endpointdsl-kafka-aws2-s3/data/burst.sh b/examples/main-endpointdsl-kafka-aws2-s3/data/burst.sh
new file mode 100755
index 0000000..2d72786
--- /dev/null
+++ b/examples/main-endpointdsl-kafka-aws2-s3/data/burst.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+for (( c=1; c<=$2; c++ ))
+do  
+  kafkacat -P -b localhost:9092 -t $1 $3
+done
diff --git a/examples/main-endpointdsl-kafka-aws2-s3/data/msg.txt b/examples/main-endpointdsl-kafka-aws2-s3/data/msg.txt
new file mode 100644
index 0000000..9f24223
--- /dev/null
+++ b/examples/main-endpointdsl-kafka-aws2-s3/data/msg.txt
@@ -0,0 +1,2 @@
+Hello
+