You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the timeout mechanism of blocking queue offers(mqttMessagesQueue.offer(new DefaultMessage(recordValue, headerMap), 1, TimeUnit.SECONDS);), messages may be lost when the queue is full
How to reproduce
The mqtt production speed is higher than the consumption speed. When the blocking queue is filled, messages will be lost.
What happened
There is a problem in #10727
The current MqttSource solution may cause message loss
What you expected to happen
Due to the timeout mechanism of blocking queue offers(
mqttMessagesQueue.offer(new DefaultMessage(recordValue, headerMap), 1, TimeUnit.SECONDS);
), messages may be lost when the queue is fullHow to reproduce
The mqtt production speed is higher than the consumption speed. When the blocking queue is filled, messages will be lost.
Environment
No response
InLong version
master
InLong Component
InLong Agent
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: