Commit 3a45ce3d by 杨林龙

开发在店kafka数据消费

1 parent fdb26a96
...@@ -46,7 +46,7 @@ public class KafkaConsumerConfig { ...@@ -46,7 +46,7 @@ public class KafkaConsumerConfig {
} }
@Bean(initMethod = "init", destroyMethod = "destroy") @Bean(initMethod = "init", destroyMethod = "destroy")
ElectricInStoreConsumer trialDriverInShopConsumer(@Value("${mq.kafka.fence.inshop.topic}") String topic) { ElectricInStoreConsumer trialDriverInShopConsumer(@Value("${mq.kafka.fence.instore.topic}") String topic) {
ElectricInStoreConsumer trialDriverInShopConsumer = new ElectricInStoreConsumer(); ElectricInStoreConsumer trialDriverInShopConsumer = new ElectricInStoreConsumer();
trialDriverInShopConsumer.setnThreads(nThreads); trialDriverInShopConsumer.setnThreads(nThreads);
trialDriverInShopConsumer.setConsumerConfig(gpsConsumerConfig); trialDriverInShopConsumer.setConsumerConfig(gpsConsumerConfig);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!