It looks like Eric and I have reached a consensus on how to handle his last objection, and this is ready for additional reviewers to take a look.<div><br></div><div><a href="https://review.openstack.org/#/c/7590/">https://review.openstack.org/#/c/7590/</a></div>
<div><br></div><div>Thanks,</div><div>Doug<br><br><div class="gmail_quote">On Tue, May 22, 2012 at 2:33 PM, Eric Windisch <span dir="ltr"><<a href="mailto:eric@cloudscaling.com" target="_blank">eric@cloudscaling.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
                <div>
                    <br>
                </div>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px"><span><div><div><div><div><br></div><div>If a consumer is trying to subscribe to a worker pool but the underlying implementation for the messaging system does not support those semantics, we should fail loudly and explicitly instead of configuring the consumer using other semantics that may result in subtle bugs or data corruption.</div>
</div></div></div></span></blockquote></div><div><span style="font-size:12px">If we were doing that right now with the ZeroMQ driver, we'd be raising some ugly exceptions up without any benefit.  It only consumes the '<service>.<host>' topics.   Fanout and round-robin of direct exchanges (bare topics without a dot-character) are handled by the *sender* and are thus not consumed, which I realize is 180-degrees from how this is handled in AMQP.</span></div>
<div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">My suggestion is that for static matchmakers, on the registration of a consumer, we do a host lookup in the matchmaker to see if that host has been pre-registered.  If it is not in the map/lookup, then we raise an ugly Exception.</span></div>
<div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">Regards,</span></div><div>Eric Windisch </div><div><br>
                </div>
            </blockquote></div><br></div>