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 2023/03/09 12:45:45 UTC

[camel-kamelets] branch main updated: Switch examples to use Kafka kamelets

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0d6666f2 Switch examples to use Kafka kamelets
0d6666f2 is described below

commit 0d6666f220bd0d1311a97b9bbb5ae0074cd781ab
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 9 13:33:22 2023 +0100

    Switch examples to use Kafka kamelets
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/examples/js/kamelets.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/modules/ROOT/examples/js/kamelets.js b/docs/modules/ROOT/examples/js/kamelets.js
index fa257a00..db2ae9a8 100644
--- a/docs/modules/ROOT/examples/js/kamelets.js
+++ b/docs/modules/ROOT/examples/js/kamelets.js
@@ -190,9 +190,12 @@ const kameletBindings = {
           ref: {
             kind: 'Kamelet',
             apiVersion: 'camel.apache.org/v1alpha1',
-            name: 'timer-source',
+            name: 'kafka-source',
             properties: {
-              message: 'Hello',
+              bootstrapServers: 'localhost:9092',
+              topic: 'mytopic',
+              user: 'kafka',
+              password: 'kafka123!'
             },
           },
         },