-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending to direct exchange not working in amqp output #5661
Comments
It looks like Telegraf received confirmation of delivery to RabbitMQ:
Perhaps you don't have a queue bound to the routing key? Check the section on direct exchanges in the routing tutorial:
|
@danielnelson already tried to create queues and routing keys with different names and issue still persists.
Do you have any additional pointers? |
Try sending to the direct exchange using a command similar to this and verify that you receive the data:
On the Telegraf side you should use the |
@danielnelson using the The only thing I can see is that |
Let's reopen the issue until the issue can be confirmed. |
@keitalbame This is indeed a bug in Telegraf where we aren't sending the routing_key on direct exchanges, we'll have the fix in the next release. |
Relevant telegraf.conf:
System info:
docker image telegraf:1.10.1
Steps to reproduce:
Expected behavior:
Messages arriving on rabbitmq
Actual behavior:
Messages not arriving to the queue in rabbitmq but data is seen arriving to the exchange.
Same behaviour when also setting up
routing_key = "log-messages"
or without specifiyngdata_format
.from rabbitmq:
Additional info:
from telegraf logs:
The text was updated successfully, but these errors were encountered: