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
Access to the attributes and message_attributes of the underlying SQS message #14
Comments
Combined with this and #11 it is looking more like my needs correspond with a custom |
Hi @gvaughn! I think we should allow BroadwaySQS to expose messages attributes. The big question is how. First, we need to add a field to the Another thing to consider is whether we should always add all existing attributes to the message or if we should provide an option so the user could list only the attributes he needs. What do you think? |
I like a field called metadata or attributes and explicitly requesting the
user to list which ones should be extracted.
--
*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D
|
I've been taking some time with a custom SQSClient to better understand my overall challenges. I learned that I have to pass options into The service provider I'm integrating with seems to be quite outside the norm for SQS activity in general. At this point I think it's best for me to push forward with the custom SQSClient to get things working and then from that seeing what extra flexibility should be put into BroadwaySQS after I have a working implementation. Thanks for the feedback! |
Accessing message attributes via Broadway would be fantastic. I've been refactoring a custom data pipeline to use Broadway but got stuck in this part since we use message attributes to structure how our data gets passed around as we pass multiple keys through each message. Completely agree with @josevalim's idea of requesting the user to list which attributes would be needed. |
I'll take a closer look at SQS API regarding message attributes so we can propose a general solution.
Sounds like a good plan. I created an issue for Broadway to add the |
It appears that in wrap_messages only the
body
from the message ExAws generates here is kept. I have a situation with an encrypted body that delivers the initialization vector needed for decryption in a MessageAttribute. Is there some other way of accessing this information?The text was updated successfully, but these errors were encountered: