Bug: RabbitMQ Tracing do not work, error internal must be false
when creating amq.rabbitmq.trace
exchange
#948
Labels
internal must be false
when creating amq.rabbitmq.trace
exchange
#948
Describe the bug
RabbitMQ supports tracing, where a special exchange has to be binded where all the messages would be cloned over to, read more here, Using faststream, to create this special exchange has to creating itself with parameters
exch = RabbitExchange("amq.rabbitmq.trace", auto_delete=False, type=ExchangeType.TOPIC, durable=True, internal=True)
However the last part
internal=True
is not supported by dependent library implementation of pamqp, therefore when creating such an exchange, it throws this error of "internal must be false"How to reproduce
Use this code
Expected behavior
A received message on logger stating Received log message, and then the msg string "Hello I should be logged!"
Observed behavior
Error when starting up the script,
ValueError: internal must be False
``
Required Fix
I have even made changes to internal file to test if removing the Value() sanity check fixes the problem, to my surprise it does, for the same I created a PR at base repository but being inactive, I really don't think they will fix it, so for the time being I think FastStream should move away or use another fork of pamqp
The text was updated successfully, but these errors were encountered: