bug修改。

This commit is contained in:
Renpc-kilig 2022-02-09 17:30:05 +08:00
parent 6b79871fde
commit 248b9bb4af

View File

@ -32,7 +32,7 @@ public class FullSyncC0006 implements ApplicationEventPublisherAware {
public FullSyncC0006() {}
@KafkaListener(topics = "C0002FullSync")
@KafkaListener(topics = "C0006FullSync")
public void message(ConsumerRecord<?, ?> record) {
System.out.println("收到全量同步命令");
JSONObject jsonObject = JSONObject.parseObject(record.value().toString());
@ -60,7 +60,7 @@ public class FullSyncC0006 implements ApplicationEventPublisherAware {
}
}
@KafkaListener(topics = "C0002")
@KafkaListener(topics = "C0006")
public void messageMsg(ConsumerRecord<?, ?> record) {
JSONObject jsonObject = JSONObject.parseObject(record.value().toString());
Map<String, Object> params = new HashMap<>();