This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kafka-s3-openshift-example in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
commit dd6a3a2a0b7927a3ab87d30c72e094c0f7be7846 Author: Andrea Cosentino <[email protected]> AuthorDate: Thu Nov 16 11:57:04 2023 +0100 Added the KameletBindings for testing Signed-off-by: Andrea Cosentino <[email protected]> --- camel-k/kafka-s3/kafka-s3.yaml | 23 +++++++++++++++++++++++ camel-k/kafka-s3/timer-kafka.yaml | 21 +++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/camel-k/kafka-s3/kafka-s3.yaml b/camel-k/kafka-s3/kafka-s3.yaml new file mode 100644 index 0000000..694773e --- /dev/null +++ b/camel-k/kafka-s3/kafka-s3.yaml @@ -0,0 +1,23 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: kafka-s3-binding +spec: + source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: kafka-not-secured-source + properties: + bootstrapServers: "<cluster>:9092" + topic: "my-topic" + sink: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: aws-s3-sink + properties: + bucketNameOrArn: "<bucket_name>" + accessKey: "<access_key>" + secretKey: "<secret_key>" + region: "<region>" diff --git a/camel-k/kafka-s3/timer-kafka.yaml b/camel-k/kafka-s3/timer-kafka.yaml new file mode 100644 index 0000000..cf0ae18 --- /dev/null +++ b/camel-k/kafka-s3/timer-kafka.yaml @@ -0,0 +1,21 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: timer-kafka-binding +spec: + source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: timer-source + properties: + message: "Camel-test" + period: 30000 + sink: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: kafka-not-secured-sink + properties: + bootstrapServers: "<cluster>:9092" + topic: "my-topic"
