Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

RabbitMQ lesson 7 ACK response package

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

The sixth parameter of the amqp_basic_consume function, which specifies whether to send the ACK response packet. Set to 1 to send, 0 to not send.

As can be seen from the web side of RabbitMQ, for persistent queues, messages do not receive ACK response packets and will continue to be stored in memory and not released. So we need to pay attention to this.

Amqp_basic_consume (conn, 1, queuename, amqp_empty_bytes, 0,1,0

Amqp_empty_table)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report