Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment's MessageBuilder context is write-only which prevents additive context building #486

Open
rvowles opened this issue Aug 3, 2024 · 1 comment

Comments

@rvowles
Copy link

rvowles commented Aug 3, 2024

I am trying to add Segment integration for the Java SDK for FeatureHub (https://featurehub.io) - and I need to be able to capture the state of the features when a message is dropped to Segment. I want to augment the context, but if someone has another MessageTransformer which has set the context, I cannot add to that context (in the MessageBuilder), I can only overwrite it. I get we should create a new Map and stuff the existing data into it so we don't have cross SDK leakage, but we should be able to get the existing context.

@edsonjab
Copy link
Contributor

edsonjab commented Aug 6, 2024

Hi @rvowles thank you for your report, we start looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants