Thanks to visit codestin.com
Credit goes to github.com

Skip to content

4.0.x: Avoid an exception when an AMQP 0-9-1-originating message with expiration set is converted for an MQTT consumer#12708

Closed
michaelklishin wants to merge 2 commits into
v4.0.xfrom
mk-mc-mqtt-rabbitmq-server-discussion-12707
Closed

4.0.x: Avoid an exception when an AMQP 0-9-1-originating message with expiration set is converted for an MQTT consumer#12708
michaelklishin wants to merge 2 commits into
v4.0.xfrom
mk-mc-mqtt-rabbitmq-server-discussion-12707

Conversation

@michaelklishin
Copy link
Copy Markdown
Collaborator

@michaelklishin michaelklishin commented Nov 12, 2024

Note: this is submitted directly against v4.0.x because the mc_mqtt module in main is different and an equivalent line must be located first, so there might be a separate future PR for that.

See #12707.

Version for main: #12710.

To reproduce the exception:

  1. Start a node with rabbitmq_mqtt enabled
  2. Tail its logs
  3. Install github.com/rabbitmq/omq
  4. omq amqp-mqtt --message-ttl 10s -t /topic/my_topic -T my_topic -C 1

when an AMQP 0-9-1 publisher publishes a message
that has expiration set.

Stack trace was contributed in #12707 by @rdsilio.
@michaelklishin michaelklishin added this to the 4.0.4 milestone Nov 12, 2024
@michaelklishin michaelklishin changed the title Avoid an exception when an AMQP 0-9-1-originating message with expiration set is converted for an MQTT consumer 4.0.x: Avoid an exception when an AMQP 0-9-1-originating message with expiration set is converted for an MQTT consumer Nov 12, 2024
@ansd
Copy link
Copy Markdown
Member

ansd commented Nov 13, 2024

Closed in favour of the Mergify backport in #12711

@ansd ansd closed this Nov 13, 2024
@michaelklishin michaelklishin deleted the mk-mc-mqtt-rabbitmq-server-discussion-12707 branch November 13, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants