This is an automated email from the ASF dual-hosted git repository. dfoulks pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-examples.git
commit c32160c57440f155c6b6a4817e0d736e6816af2e Author: Andrea Cosentino <anco...@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 +