(camel-kamelets-examples) branch main updated: Use kafka component directly

2024-05-08 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git


The following commit(s) were added to refs/heads/main by this push:
 new 4045863  Use kafka component directly
4045863 is described below

commit 40458638fe3bf9b2e841e8e7d68b36ed0c3e3aa4
Author: Claus Ibsen 
AuthorDate: Wed May 8 14:06:42 2024 +0200

Use kafka component directly
---
 jbang/kafka-health/producer.camel.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jbang/kafka-health/producer.camel.yaml 
b/jbang/kafka-health/producer.camel.yaml
index fac1aeb..b15adee 100644
--- a/jbang/kafka-health/producer.camel.yaml
+++ b/jbang/kafka-health/producer.camel.yaml
@@ -4,4 +4,4 @@
 uri: "kamelet:chuck-norris-source"
 steps:
 - log: "${body}"
-- to: 
"kamelet:kafka-not-secured-sink?topic=foobar=localhost:9092"
+- to: "kafka:foobar?brokers=localhost:9092"



(camel-kamelets-examples) branch main updated: Use kafka component directly

2024-05-07 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git


The following commit(s) were added to refs/heads/main by this push:
 new 6e3fd62  Use kafka component directly
6e3fd62 is described below

commit 6e3fd62d7872734fe25d376a94871ea537fc16b5
Author: Claus Ibsen 
AuthorDate: Tue May 7 14:38:57 2024 +0200

Use kafka component directly
---
 jbang/kafka-health/consumer.camel.yaml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/jbang/kafka-health/consumer.camel.yaml 
b/jbang/kafka-health/consumer.camel.yaml
index 83ad2e0..173c973 100644
--- a/jbang/kafka-health/consumer.camel.yaml
+++ b/jbang/kafka-health/consumer.camel.yaml
@@ -1,9 +1,6 @@
 # camel-k: language=yaml
 
 - from:
-uri: "kamelet:kafka-not-secured-source"
-parameters:
-  topic: "foobar"
-  bootstrapServers: 'localhost:9092'
+uri: "kafka:foobar?brokers=localhost:9092"
 steps:
 - to: "log:info?showAll=true=true"
\ No newline at end of file