bug修改。
This commit is contained in:
parent
6b79871fde
commit
248b9bb4af
@ -32,7 +32,7 @@ public class FullSyncC0006 implements ApplicationEventPublisherAware {
|
|||||||
|
|
||||||
public FullSyncC0006() {}
|
public FullSyncC0006() {}
|
||||||
|
|
||||||
@KafkaListener(topics = "C0002FullSync")
|
@KafkaListener(topics = "C0006FullSync")
|
||||||
public void message(ConsumerRecord<?, ?> record) {
|
public void message(ConsumerRecord<?, ?> record) {
|
||||||
System.out.println("收到全量同步命令");
|
System.out.println("收到全量同步命令");
|
||||||
JSONObject jsonObject = JSONObject.parseObject(record.value().toString());
|
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) {
|
public void messageMsg(ConsumerRecord<?, ?> record) {
|
||||||
JSONObject jsonObject = JSONObject.parseObject(record.value().toString());
|
JSONObject jsonObject = JSONObject.parseObject(record.value().toString());
|
||||||
Map<String, Object> params = new HashMap<>();
|
Map<String, Object> params = new HashMap<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user