Commit b89177d6 by 段启岩

新增Kafka topic

parent 4f6d9889
......@@ -30,7 +30,7 @@ public class DataItemChangeConsumer implements TopicConsumer, ApplicationContext
private Collection<DataItemChangeListener> listeners;
@Override
@KafkaListener(topics = "${beyondclouds.kafka.topics.search-item-update}")
@KafkaListener(topics = "${beyondclouds.kafka.topics.data-item-change}")
public final void onMessage(ConsumerRecord<?, String> record) {
Optional<String> kafkaMessage = Optional.ofNullable(record.value());
if (kafkaMessage.isPresent()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment