amqp pub/sub throws exception on every message
See original GitHub issueHi,
I am evaluating solutions for using an amqp broker with Nest.js and your project looks very promising.
I tried the pub/sub feature by adapting your kitchen-sink example and it works well, but I noticed that the timeout Exception is thrown on every message:
UnhandledPromiseRejectionWarning: Error: Failed to receive response within timeout of 10000ms
at MapSubscriber.rxjs_1.interval.pipe.operators_1.map.x [as project] (/Users/mkrone/Development/nestjs-plus/examples/kitchen-sink/node_modules/@nestjs-plus/rabbitmq/src/amqp/AmqpConnection.ts:79:15)
Maybe the use of rxjs timeout
or takeUntil
operators can fix this in packages/rabbitmq/src/amqp/AmqpConnection.ts?
Let me know if I can help out with this.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Handle message failures | Cloud Pub/Sub
The details panel shows a list of possible action items. If any of the items show an error icon error, click the action...
Read more >Azure ServiceBus pub sub send message. Connection reset ...
Azure ServiceBus Pub Sub experiences some issues every now and then where the exception is "connection reset by peer".
Read more >RabbitMQ tutorial - Reliable Publishing with Publisher Confirms
Confirms should be enabled just once, not for every message published. ... could not take care of it for some reason), the method...
Read more >Python pubsub / message queue over HTTP? - Stack Overflow
I have a python script that will run on a local machine that needs to access a message queue (RabbitMQ) or receive subscribed...
Read more >RabbitMQ vs. Pub/Sub: Choosing a Message Queue for Your ...
RabbitMQ and Google Pub/Sub are both powerful and reliable message queue ... public static void main(String... args) throws Exception ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@michaelkrone You were correct, there’s a bug in the way subscribers are attached when using exchange types other than
topic
. I’ve opened an issue to track it https://github.com/WonderPanda/nestjs-plus/issues/5It should be a small tweak so I’ll get the fix up this weekend
@michaelkrone #5 is now closed and I’ve updated the kitchen sink example app. Should be fine to use the different exchanges types now