-
Notifications
You must be signed in to change notification settings - Fork 25
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
Improve integration documentation #57
Comments
Sorry to add this here: is there some forum/discord/... to ask questions? Like for RabbitMQ transport, I see that a dead-letter queue is created and associated. But I could not figure out what would trigger a message to be moved here like some maximum number of retries or anything. For a test I adjusted the rabbitmq-transport.ts with the following code to send a message to the dead letter queue after the first retry which would do that:
But are there any other configurations on the RabbitMQ setup level maybe to configure something? |
Hey @Zehelein, I tried this today and confirmed there is no DLQ routing using RabbitMQ. I've just added this in now and have released it in The number of attempts is configurable as per Let me know how it goes, and thanks for letting me know! |
Hi, thanks for looking so fast into it and providing a fix! But I am not sure - I fear this fix is not working. I also checked this This article seems to provide a few solutions - the ones with a bit of a delay in between would likely be nicer for transient errors. |
I think you're right, that delivery tag is what you describe. I had more of a read into how rabbit/amqp deals with retries and they all seem to defer this to the client (ie: they don't track retries themselves). There has been ongoing work in rabbit to support this, but there's only been a small amount of progress in the last couple of years and looks like it's currently just a feature for quorum queues. Adding this to I'm working on this implementation on https://github.com/node-ts/bus/compare/rabbitmq-message-receives but this seems to break the DLQ routing. |
Sorry I totally missed to provide the link to the article I was referring to: Maybe option 2 or 3 would be doable? Option 4 would depend on a plugin - not sure if that would be available in every setup. |
#56 indicates that the documentation is lacking around how to integrate all the components into a solution, especially around how to create a message-driven set of distributed services.
NServiceBus has a set of examples/tutorials that demonstrate some messaging core concepts and how to implement them with that library, which could be a useful reference to base this documentation off.
The text was updated successfully, but these errors were encountered: