[rabbitmq-discuss] Shovel terminated status

Elizabeth Liao eliao at seegrid.com
Tue Aug 21 16:45:57 BST 2012


I've been doing some tests with shovel to understand it better and I have a couple questions about the termination state. 

My setup:
I'm using RabbitMQ 2.8.2 with the configuration file at https://gist.github.com/3360344#.  Additionally, I'm forcing shovel into the terminated state by declaring BroadcastExchange as a fanout exchange instead of a topic exchange.  The terminated shovel status (from the last shovel) is as follows:
                  <<"PRECONDITION_FAILED - cannot redeclare exchange 'BroadcastExchange' in vhost '/' with different type, durable, internal or autodelete value">>}},

In the documentation, it states that the timestamp from  $ rabbitmqctl eval 'rabbit_shovel_status:status().' is the time when shovel entered the state.  I've observed this for the running and starting state but not for the terminated state.  The timestamp for the terminated state appears to be the current time.  Does this have to do with the specific way I'm setting up the termination condition?  Additionally, it seems when a shovel is in the terminated state and periodically trying to reconnect, there are many connections left open with no active channels.  Is this from the shovel connection attempts?  How can I avoid this?



More information about the rabbitmq-discuss mailing list