After the double write mq problem encountered no consumption record

         After last week's double write mq encounter encounter a problem, mq double wrote a machine with produce, the other has not, but some of that machine is no consumer, has not lead to another service can consume mq. the reason is that in mq double the initial configuration of the two types of documents when repeated, resulting in the following covered above.

   

<bean id="excelProducer" class="com.zhuanche.common.rocketmq.ExcelProducer" init-method="init" destroy-method="destroy" scope="singleton">
        <property name="namesrvAddr" value="${rocketmq.excelNamesrvAddr}"/>
    </bean>

    <!--双写MQ-->
    <bean id="excelProducerDouble" class="com.zhuanche.common.rocketmq.ExcelProducer" init-method="init" destroy-method="destroy" scope="singleton">
        <property name="namesrvAddr" value="${rocketmq.new.excelNamesrvAddr}"/>

 

  This is a result of the above, the following will be covered above.

Guess you like

Origin www.cnblogs.com/thinkingandworkinghard/p/11419756.html