The php language used, the expansion package is php-amqplib.
Question 1: How to resend unanswered ack messages to other consumers?
Question 2: All consumer queues are dead. How to prevent messages sent to exchange from being lost? Restarting the consumer process can obtain previously sent messages.
Thanks
1 basic.nack
2 rabbitmq supports message persistence
You can get started easily. The problems you mentioned are recorded in the article:
RabbitMQ Chinese Documentation
You can try the swoole extension