-
Notifications
You must be signed in to change notification settings - Fork 310
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
Exclude all attributes starting with "goog_" from outbound Pub/Sub headers #776
Comments
Sounds like something I can take up next? @elefeint |
Yes, that's a good idea. First, reproduce the issue by creating a sample application that has a Spring Cloud Stream processor -- our current sample only has a source and a sink. |
@ddixit14 Hints on reproducing using
Bonus question to think about: do we want to strip incoming |
Done hence closing the issue. |
…aders (GoogleCloudPlatform#845) * migrating the test * Fixing issue GoogleCloudPlatform#776
Report came from Gitter -- in a Spring Cloud Stream application,
HeaderMapper
fields are not customizable in the adapters. In a Processor SCS application, if the Pub/Sub message received from one subscription is passed as-is to a topic, the message will be rejected with:To prevent this issue,
PubSubHeaderMapper.outboundHeaderPatterns
needs to include"!goog_*
by default.The text was updated successfully, but these errors were encountered: