Skip to content

Extract context from AWS SQS message attribute #2025

Answered by Flarna
dhenard asked this question in Q&A
Discussion options

You must be logged in to vote

What you create here is named propagator, see e.g. HttpTraceContext how to covert you strings into a context.

Maybe it is even possible to use the HttpTraceContext as is and just pass custom getter/setter to extract/inject. But I assume this would require to put each string into a separate attribute.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dhenard
Comment options

You must be logged in to vote
1 reply
@dhenard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants