You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/06/04 16:29:26 UTC

[GitHub] [camel-kafka-connector] valdar edited a comment on issue #1192: camel-elasticsearch-rest-kafka-connector indexId

valdar edited a comment 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 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:
users@infra.apache.org