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
URL in AWS output is not interpolated #2434
Comments
Looking to do something like this in the url field where route is added to metadata by a previous processor and can be one of up to 20 values.
|
Hey, this is technically possible as we can specify the URL per batch send request. However, one minor annoyance is that when you batch messages up (which is recommended for performance reasons) each individual message could yield a different URL, and so the logic and predictability of batch dispatching becomes much more complicated. |
Would having URL determined per message be worse/better performance than using the |
@rtkkroland: Not really. Just that the |
Awesome, let's do URL interpolation then! :D
|
When trying to route messages based on metadata to different SQS endpoints, modifying the URL is the easiest, but it's the only field that's not interpolated :(
https://github.com/benthosdev/benthos/blame/34777e87934cba354219d803b32e26cfe565c930/internal/impl/aws/output_sqs.go#L39
This results in much sadness.
The text was updated successfully, but these errors were encountered: