Skip to content

Add support for both attributes and message attributes #53

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

acartcat
Copy link

@acartcat acartcat commented Mar 1, 2021

I'm using this in a POC for an Azure Function taking telemetry from an SQS queue. It's important to get the Message Attributes and the other attributes. Let me know what you think. I couldn't work out if it was possible to use a List directly as a parameter so reverted to Split() on the string
Cheers

@laveeshb
Copy link
Owner

laveeshb commented Mar 3, 2021

Thanks for adding this capability @acartcat. Let me check if it is possible to resolve a string to array without us doing it explicitly in the code. Other than that, it looks ok to me. I take it you have tested it locally?

<PackageReference Include="AWSSDK.SQS" Version="3.5.1.8" />
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.14" />
<PackageReference Include="AWSSDK.SQS" Version="3.5.1.21" />
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.25" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we updating the version of webjobs SDK? Is there a dependency on 3.0.25 for this functionality? If not, I would prefer to use as low a version as possible, so it imposes least restrictions.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, so long to respond. I'm fine with the choice of webjobs SDK. I have this running and receiving messages. It's been running for months with low message volume.

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

Successfully merging this pull request may close these issues.

2 participants