融合通信对接合肥数据
parent
20c066890e
commit
d9396f33d1
|
|
@ -51,7 +51,7 @@ public class ConsumerWorker {
|
|||
private RemoteDataToEsService gpsService;
|
||||
|
||||
|
||||
@KafkaListener(topics = "${spring.kafka.consumer.topics}",properties = {
|
||||
@KafkaListener(topics = "#{'${spring.kafka.consumer.topics}'.split(',')}",properties = {
|
||||
"auto.offset.reset:latest"})
|
||||
public void consumer(ConsumerRecord<String,Object> record) {
|
||||
Object value = record.value();
|
||||
|
|
|
|||
Loading…
Reference in New Issue