这家伙太懒,什么都没留下
已优化,感谢细心。
To achieve this, the broker assigns each producer an ID and deduplicates messages using a sequence number that is sent by the producer along with every message。
为了实现这一点,broker向每个生产者分配一个ID,并通过生产者发送的序列号和每个消息,达到消除重复消息的目的。