How to keep the link between Maxwell and rabbitmq?

CSDN Q & A 2022-02-13 07:48:24 阅读数:621

link maxwell rabbitmq

Due to business requirements, it is necessary to synchronize the data of formal service and test service databases , It was used maxwell Monitor the official service mysql binog And push it to rabbitmq. however rabbitmq After a period of no news , In modifying the data of formal service ,rabbitmq It was disconnected , No data received , Need to restart maxwell and rabbitmq Links to . How to let maxwell Keep long links ?
maxwell and rabbitmq The link command is as follows :

img
Background processing code used hyperf frame amqp Components

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130748217527.html