[Buildbot-devel] Seems routing keys in doc are not complete?

Dustin J. Mitchell dustin at v.igoro.us
Wed Jun 18 12:39:59 UTC 2014

`startConsuming` can be called with an *arbitrary* pattern - we can't
enumerate them all, any more than Python could enumerate all of the
things any Python program might pass to `print`.  More to the point,
the MQ layer should not hard-code anything about routing keys or
content.  If I want to add a new message with routing key
"foo.18.bar", I shouldn't need to make any changes to the MQ layer --
I just need to send the message.

For users' convenience, we do try to enumerate the messages that
Buildbot will send, and these are documented with the relevant data

I had completely forgotten that there were also messages described in
mq.rst.  Those shouldn't be there, and I'll delete them now.  It's
also worth noting that some of the messages described in the
rtype-*.rst files are incorrect.  The format of the routing keys was
changed incompletely a while back, and we haven't cleaned it up yet.
But that shouldn't matter to you -- your job is just to deliver
messages with routing keys, not to worry about what those keys are.


On Wed, Jun 18, 2014 at 5:37 AM, Damon Wang <damon.devops at gmail.com> wrote:
> Hi,
> I have set a small sniffer to monitor mq's working, and found some filters
> that consumer use are not list at
> document(http://docs.buildbot.net/nine/developer/mq.html).
> For example (the format is consume: callback: filter: persistent):
> consume: <bound method Consumer.onMessage of <buildbot.www.sse.Consumer
> object at 0x413b650>> : ('masters', None, None) : None
> consume: <bound method Consumer.onMessage of <buildbot.www.sse.Consumer
> object at 0x413b650>> : ('changes', None, None) : None
> ...
> Should we sometime complete the doc? The work won't be too difficult, just
> search every startConsuming's callby and record it.
> Regards,
> Damon
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel

More information about the devel mailing list