Procházet zdrojové kódy

生产配置文件修改 PengDi@2021/4/29

pengdi@zoniot.com před 3 roky
rodič
revize
3ba284940f

+ 3 - 1
smart-city-intf/src/main/resources/application-prd.properties

@@ -49,9 +49,11 @@ com.zcxk.kafka.alarm.topic=sc_alarm_topic
 com.zcxk.kafka.card.topic=sc_card_topic
 #kafka consumer config
 spring.kafka.consumer.group-id=iot-hub-prd
+spring.kafka.properties.max.poll.interval.ms=600000
 spring.kafka.consumer.auto-offset-reset=latest
 spring.kafka.consumer.enable-auto-commit=true
-com.zcxk.kafka.single.data.topic=sc_single_data_topic
+spring.kafka.consumer.max-poll-records=200
+com.zcxk.kafka.single.data.topic=lora_data_topic
 com.zcxk.kafka.multi.data.topic=sc_multi_data_topic
 com.zcxk.kafka.accept_valve_state.topic=sc_accept_valve_state_topic
 ###################################################阿里云NMS配置######################################################