Commit 522d4a24 by 杨林龙

假性离线kafka消费开发

1 parent 1512774a
...@@ -83,7 +83,7 @@ public class KafkaConsumerConfig { ...@@ -83,7 +83,7 @@ public class KafkaConsumerConfig {
FakeOfficeConsumer fakeOfficeConsumer(@Value("${mq.kafka.fake.office.topic}") String topic) { FakeOfficeConsumer fakeOfficeConsumer(@Value("${mq.kafka.fake.office.topic}") String topic) {
FakeOfficeConsumer fakeOfficeConsumer = new FakeOfficeConsumer(); FakeOfficeConsumer fakeOfficeConsumer = new FakeOfficeConsumer();
fakeOfficeConsumer.setnThreads(nThreads); fakeOfficeConsumer.setnThreads(nThreads);
fakeOfficeConsumer.setConsumerConfig(ddboxConsumerConfig); fakeOfficeConsumer.setConsumerConfig(gpsConsumerConfig);
fakeOfficeConsumer.setTopic(topic); fakeOfficeConsumer.setTopic(topic);
return fakeOfficeConsumer; return fakeOfficeConsumer;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!