emqx / emqx-bridge-mqtt

Bridge of MQTT (deprecated since EMQX v5)
https://www.emqx.com
Apache License 2.0
37 stars 13 forks source link

Fix inflight reference booking #132

Closed zmstone closed 3 years ago

zmstone commented 3 years ago

fixes #81 ported from https://github.com/emqx/emqx/pull/4513 and https://github.com/emqx/emqx/pull/4526

Mainly 3 changes:

  1. Fixed a bug in retry_inflight which causes ack references get lost
  2. No more error level logging for unknown ack references (packet IDs for QoS > 0)
  3. Unknown ack references should not cause messages to be re-queued