valdar commented on issue #1192:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1192#issuecomment-854858337


   Yes, the default header filter strategy 
https://github.com/apache/camel/blob/b10d6be0bcb232c76402b200046c95552d1c488a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaHeaderFilterStrategy.java#L21
 remove each header starting with `"Camel"` or `"camel"` or 
`"org.apache.camel."` or `"kafka."`
   
   So you should implement a custom `HeaderFilterStrategy` and instruct 
`camel-kafka` component to use it through the `headerFilterStrategy` option 
(see https://camel.apache.org/components/3.4.x/kafka-component.html for more 
details) 
   
   I hope it makes sense, don't hesitate to further ask if not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to