fiaisis / run-detection

The way we detect when our system for reduction should automatically perform a reduction and with what arguments we should do that.
GNU General Public License v3.0
1 stars 1 forks source link

Test messages are consumed when a run detector dies #29

Closed keiranjprice101 closed 1 year ago

keiranjprice101 commented 1 year ago

IF there is a message and queue, and the run detector dies, and another instance is started, check that the messages are consumed straight away.

Currently it has been observed that if the activemq client dies, it is still shown as connected for multiple hours, and messages are not recieved by the new client.

When switched to a topic/subscription model this was not the case.

According to the ActiveMQ documentation, the point to point model should never allow messages to be lost, but a loss of messages is possible with the topic subscription model.

We must identify the exact issue, as we do not want to lose messages in production and have to implement a way to find missed runs, post fact.