The use of RABBITMQ trace logs and its doubts

Source: Internet
Author: User
Tags rabbitmq

RabbitMQ The default log is similar to the client "Accpet/close" and other information, for the exception or trace the internal structure of the message is more troublesome.

However, MQ has a rabbitmq_tracing plug-in, after installing the plugin in the Console Management tab page, you can see a trace of the menu.

One of the most important is to understand the format of pattern. General to trace the message will involve two parts: there is no receipt, there is no issue to go. The format of the packet capture record is as follows:

But to catch a queue of the release or consumption test many times, always feel that this pattern is very vague. At night and carefully check the plugin's official website, find the following:

The Firehose publishes messages to the topic Exchange amq.rabbitmq.trace with

Routing key either "publish. Exchangename", for messages entering the broker, or"deliver. QueueName", for messages leaving the broker;
That is to catch publish follow exchangename walk, catch consumption followed QueueName walk.

Https://www.rabbitmq.com/firehose.html

The use of RABBITMQ trace logs and its doubts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.