记得上下班打卡 | git大法好,push需谨慎

Commit ecf08e70 authored by wanglele's avatar wanglele

批量空投

parent bd84163a
......@@ -14,7 +14,6 @@ import java.util.Arrays;
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.liquidnet"})
@MapperScan(basePackages = "com.liquidnet.service.*.mapper")
public class ServiceConsumerKylinApplication implements CommandLineRunner {
@Autowired
private Environment environment;
......@@ -42,3 +41,4 @@ public class ServiceConsumerKylinApplication implements CommandLineRunner {
}
}
}
......@@ -15,8 +15,9 @@ import org.springframework.data.redis.connection.stream.StreamOffset;
import org.springframework.data.redis.stream.StreamMessageListenerContainer;
import org.springframework.data.redis.stream.Subscription;
@Configuration
// @Configuration
public class ConsumerGoblinCodeStreamConfig extends RedisStreamConfig {
/*
@Autowired
ConsumerGoblinCodeReceiver consumerGoblinCodeReceiver;
......@@ -33,6 +34,7 @@ public class ConsumerGoblinCodeStreamConfig extends RedisStreamConfig {
listenerContainer.start();
return subscription;
}
*/
......
......@@ -17,9 +17,10 @@ import org.springframework.data.redis.stream.Subscription;
import com.liquidnet.service.consumer.kylin.receiver.ConsumerGoblinPhoneCodeReceiver;
@Configuration
// @Configuration
public class ConsumerGoblinPhoneCodeStreamConfig extends RedisStreamConfig {
/*
@Autowired
ConsumerGoblinPhoneCodeReceiver consumerGoblinPhoneCodeReceiver;
......@@ -36,6 +37,7 @@ public class ConsumerGoblinPhoneCodeStreamConfig extends RedisStreamConfig {
listenerContainer.start();
return subscription;
}
*/
/* @Bean
......
......@@ -5,7 +5,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Slf4j
@Component
// @Component
public class ConsumerGoblinCodeReceiver extends AbstractSqlRedisReceiver{
@Override
protected String getRedisStreamKey() {
......
......@@ -20,7 +20,7 @@ import java.util.List;
import java.util.Map;
@Slf4j
@Component
// @Component
public class ConsumerGoblinPhoneCodeReceiver extends AbstractHttpRedisReceiver{
@Override
......
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