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

866: removed the code that tries to list the topics with each dispatc… #879

Closed

Conversation

Selimmo
Copy link

@Selimmo Selimmo commented Jun 29, 2021

Because of the issue #866

The code that is removed (line 247 to 256) was causing many failures, it is causing each dispatch to go and ListTopics which has a 30 transactions per second Hard limit.

we first downloaded the code to our repo and used it instead of 5.3.1 nuget package, and all the tests started to succeed.

was hoping to speed this up a little by creating the PR (we can maybe create a new release 5.4)

…h, as it causes throttling errors and is not necessary
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Mohamed Mohamed seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@WilliamBZA
Copy link
Member

@ramonsmits This is related to #866, can you take a look?

@ramonsmits
Copy link
Member

@Selimmo The code removed the lookup but from what I understood it existed to detect incorrectly configured SQS configurations. This PR would make sense if we would drop prior configurations but that would be a breaking change and would require a new major version.

The team what will resolve the issue once prioritized and staffed will definitely look at this PR but we can't merge this as is as a new minor or major.

@Selimmo
Copy link
Author

Selimmo commented Jul 2, 2021

Thanks @ramonsmits

I was wondering if you or someone could give some more details on "incorrectly configured SQS configurations"? maybe an example of such incorrect configuration would be great.

we can also modify this code to Opt-out so the developer (i.e. us) can choose not to have this function if we are confident that it will not be incorrectly configured in our environment?

we are in this situation because of AWS hard limit with ListTopics and due to that i feel the current implementation is not Fit for purpose.

Thanks
Mo

@ramonsmits
Copy link
Member

I was wondering if you or someone could give some more details on "incorrectly configured SQS configurations"? maybe an example of such incorrect configuration would be great.

@Selimmo It's connected to the message-driven pub/sub hybrid mode. If the message we're trying to dispatch is a unicast message with a Publish intent but the subscriber is also subscribed via SNS we don't want to dispatch the message twice, the subscriber will receive it via SNS and not via a unicast send.

@stale
Copy link

stale bot commented Aug 1, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 1, 2021
@boblangley boblangley removed the stale label Aug 2, 2021
@stale
Copy link

stale bot commented Sep 2, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 2, 2021
@stale stale bot closed this Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants