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/31 12:36:21 UTC

[camel-kamelets] 03/06: Create a Kamelet action for setting a specific kafka key based on a particular header incoming

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

commit 4a012bc9ae3b1e578714fd2affc06e29a88a7202
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 31 14:11:23 2023 +0200

    Create a Kamelet action for setting a specific kafka key based on a particular header incoming
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 docs/modules/ROOT/nav.adoc                 | 1 +
 kamelets/set-kafka-key-action.kamelet.yaml | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index b5f48109..51da4962 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -180,6 +180,7 @@
 * xref:salesforce-source.adoc[]
 * xref:salesforce-update-sink.adoc[]
 * xref:scp-sink.adoc[]
+* xref:set-kafka-key-action.adoc[]
 * xref:sftp-sink.adoc[]
 * xref:sftp-source.adoc[]
 * xref:slack-sink.adoc[]
diff --git a/kamelets/set-kafka-key-action.kamelet.yaml b/kamelets/set-kafka-key-action.kamelet.yaml
index b2d9c68e..dec7d997 100644
--- a/kamelets/set-kafka-key-action.kamelet.yaml
+++ b/kamelets/set-kafka-key-action.kamelet.yaml
@@ -35,7 +35,7 @@ spec:
 
       The headerName parameter allows you to specify which header value to set as Kafka Key.
     required:
-      - field
+      - headerName
     properties:
       headerName:
         title: Field