-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Describe the bug
Federation crashes if the MQTT topic exchange (amq.topic by default) is federated and MQTT 5.0 clients subscribed. That's because bindings are sent from downstream to upstream as described in https://www.rabbitmq.com/docs/federated-exchanges#details and binding arguments containing Erlang record mqtt_subscription_opts cannot be encoded in AMQP 0.9.1.
Reproduction steps
See #13033 (comment)
Expected behavior
Federation should work.
Additional context
Exporting definitions in JSON format also omits the mqtt_subscription_opts record from the binding arguments.
One solution is to encode the MQTT subscription options as an AMQP 0.9.1 table in the binding arguments when storing the binding in the database.