federation upstream message limit

21 views
Skip to first unread message

Sean Allen

unread,
Oct 28, 2014, 5:54:35 PM10/28/14
to rabbitm...@googlegroups.com
Are there plans to allow for federation upstreams to set not only a message ttl but a max number of messages?

--

Ce n'est pas une signature

Simon MacMullen

unread,
Oct 29, 2014, 8:20:43 AM10/29/14
to Sean Allen, rabbitm...@googlegroups.com
On 28/10/14 21:54, Sean Allen wrote:
> Are there plans to allow for federation upstreams to set not only a
> message ttl but a max number of messages?

Hmm, I hadn't thought of that, but it makes sense. I'll file a bug.

Of course, if you control the upstream you can create a policy to do the
same thing.

Cheers, Simon

Sean Allen

unread,
Oct 29, 2014, 9:19:24 PM10/29/14
to Simon MacMullen, rabbitm...@googlegroups.com
Assuming the upstream is a queue and not a exchange, correct?
 

Simon MacMullen

unread,
Oct 30, 2014, 6:56:49 AM10/30/14
to Sean Allen, rabbitm...@googlegroups.com
Ah, no, the other way round. Federated exchanges internally use queues
whose name begins with "federation:" to buffer messages in the upstream,
so you could set a max length policy in the upstream to apply to those
queues.

For federated queues it doesn't really make sense to talk about length
limits for buffering, since there isn't really any.

Cheers, Simon
Reply all
Reply to author
Forward
0 new messages