Hi, I am trying to implement this (python code):<div><br></div><div><a href="http://notes.variogr.am/post/143623387/broadcasting-your-logs-with-rabbitmq-and-python">http://notes.variogr.am/post/143623387/broadcasting-your-logs-with-rabbitmq-and-python</a></div>
<div><br></div><div>Which is a simple fanout exchange that any # of listeners can bind to with a random queue name. My goal is to have the messages sent to the exchange but not stick around in any way. If there are no queues bound to the exchange, the messages should disappear. If there are listeners, the messages should get sent out but not stay in the broker. </div>
<div><br></div><div>This is not what I'm seeing: running the broker for a few minutes with a few listeners registered I have:</div><div><br></div><div><div>~/rabbitmq-server/scripts# ./rabbitmqctl list_queues name mode messages messages_ready messages_unacknowledged durable</div>
<div>Listing queues ...</div><div>logger_d179b888-753c-11de-b258-0023dfde57d8<span class="Apple-tab-span" style="white-space:pre">        </span>mixed<span class="Apple-tab-span" style="white-space:pre">        </span>46847<span class="Apple-tab-span" style="white-space:pre">        </span>46847<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>false</div>
<div>logger_a0856c74-753f-11de-b4dd-0022413719b3<span class="Apple-tab-span" style="white-space:pre">        </span>mixed<span class="Apple-tab-span" style="white-space:pre">        </span>17946<span class="Apple-tab-span" style="white-space:pre">        </span>17946<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>false</div>
<div>logger_6c317904-7530-11de-996e-0023dfde57d8<span class="Apple-tab-span" style="white-space:pre">        </span>mixed<span class="Apple-tab-span" style="white-space:pre">        </span>79776<span class="Apple-tab-span" style="white-space:pre">        </span>79776<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>false</div>
<div>logger<span class="Apple-tab-span" style="white-space:pre">        </span>mixed<span class="Apple-tab-span" style="white-space:pre">        </span>301503<span class="Apple-tab-span" style="white-space:pre">        </span>301503<span class="Apple-tab-span" style="white-space:pre">        </span>0<span class="Apple-tab-span" style="white-space:pre">        </span>false</div>
<div><br></div><div>Note that logger is the producer's "writer" queue. The logger_UUID() ones are the consumers/listeners.</div><div><br></div><div>I am concerned about this because over the weekend the broker crashed (not sure why yet, but I assume it had something to do with probably ~50m messages sitting in the exchange.) How can I have messages be completely transient?</div>
<div><br></div><div><br></div></div>