[rabbitmq-discuss] MQTT plugin, QoS 1, Android, not consuming on reconnect

Michael Klishin mklishin at gopivotal.com
Sun Jul 27 15:23:14 BST 2014



On 27 July 2014 at 17:07:14, brydev (bcliffe at gmail.com) wrote:
> > I have tested the lower heartbeat interval, having it as low  
> as 1 second but
> the RabbitMQ broker is still disconnecting the new connection  
> after an
> attempt in reconnect. Having a heartbeat interval this low also  
> affects the
> power usage on the device. I was wondering maybe a possible solution  
> could
> be a policy whereby if there is a duplicate connection attempt  
> on the broker
> to then disconnect the oldest connection.

MQTT 3.1 requires brokers to disconnect an old connection with the same
client id but (as I understand it) only after successful authentication.

Are you saying that it's not what you're observing? 
--  
MK  

Staff Software Engineer, Pivotal/RabbitMQ


More information about the rabbitmq-discuss mailing list