Skip to content

Commit

Permalink
Bean: Use properties instead of property with key and value - Kafka n…
Browse files Browse the repository at this point in the history
…ot secured sink

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed May 24, 2023
1 parent b0173cc commit aaeff8e
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,11 @@ spec:
beans:
- name: deDuplicateHeaders
type: "#class:org.apache.camel.kamelets.utils.headers.DeDuplicateNamingHeaders"
property:
- key: prefix
value: 'kafka.'
- key: renamingPrefix
value: 'kafka.'
- key: mode
value: 'filtering'
- key: selectedHeaders
value: 'kafka.key,kafka.topic,kafka.override_topic'
properties:
prefix: 'kafka.'
renamingPrefix: 'kafka.'
mode: 'filtering'
selectedHeaders: 'kafka.key,kafka.topic,kafka.override_topic'
from:
uri: "kamelet:source"
steps:
Expand Down

0 comments on commit aaeff8e

Please sign in to comment.