[ 
https://issues.apache.org/jira/browse/CAMEL-22403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018661#comment-18018661
 ] 

Chirag Sanghavi commented on CAMEL-22403:
-----------------------------------------

Ideally there should be few options:
 # A Strategy that mimics behavior of today.
 # A Strategy that transfers all headers
 # A Strategy that only adds Transaction/Span/Telemetry data.
 # A Strategy that allows user to define filter.

 

One of the challenge is that sometimes Pubsub is used between two completely 
different platforms/stacks.

e.g. Org A ---> PubSub ---> Org B

 

Both Orgs may have their own independent and separate telemetry solutions 
running at each end.

 

> [camel-google-pubsub] Extend headers with some HeaderFilterStrategy
> -------------------------------------------------------------------
>
>                 Key: CAMEL-22403
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22403
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 4.14.0
>            Reporter: Pasquale Congiusti
>            Priority: Minor
>             Fix For: 4.14.1, 4.15.0
>
>
> The component is now only transferring a few specific headers. However it 
> misses additional headers that can result crucial when integrating with other 
> technologies (ie, telemetry). Given that the component is similar to a queue 
> and the calls are perfomed via http, we should implements a generic transfer 
> of all headers, only filtering those which we're sure are not needed during 
> Camel processing.
> A similar approach as done in camel-jms can serve as a reference, where we 
> have the implementation of an extension of DefaultHeaderFilterStrategy. 
> Ideally we should analyse the protocol to understand which are the be 
> excluded.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to