-
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
Support for persistent messages #93
Comments
@behrad Not a bad idea at all. Many thanks for the suggestion. Will work on it now and keep you posted! |
Great to hear from you. I'll give it a try 👍 it suddenly came to my mind, for persistent messages to work, queue should not be exclusive if I'm right. another question, have you got any number performance wise? pub/sec? consume/sec? |
@behrad Thank you very much, indeed.
Queues' declaration parameters are completely configurable. {
// ...
"queues": {
"prefix": "seneca.act",
"separator": ".",
"options": {
"autoDelete": true,
"exclusive": true, // <-- This is what you are interested in
"arguments": {
"x-dead-letter-exchange": "seneca.dlx",
"x-message-ttl": 10000
}
}
}
}
Those greatly depend on your specs and your broker's current load/capacity. They are not hard to come by: run a few of the |
@behrad So, did you get a chance to try the PR? Or shall I merge regardless? |
Added in v2.2.0. |
so busy these days @nfantone |
👍 thank you man |
I tested 2.2.0 @nfantone and it looks great, however I've two main concerns:
|
@behrad For point number one, please take a look at this issue. Regarding your second point, I'm not familiar with seneca-mesh but, from what I saw, it's using HTTP as its default transport. Running HTTP on local LAN would beat queuing messages in an AMQP broker any day. Plus, persistence messages and queues with confirms are particularly slow in RabbitMQ (see this also). |
Can
persistent
option be added here https://github.com/senecajs/seneca-amqp-transport/blob/develop/lib/client/publisher.js#L31 to support for durable micro-service messaging?That would be very nice, since I've not seen any other seneca plugin to support that. Does any?
The text was updated successfully, but these errors were encountered: