Package net.risesoft.config
Class LogKafkaListenerConfiguration
- java.lang.Object
-
- net.risesoft.config.LogKafkaListenerConfiguration
-
@Configuration @EnableKafka @ConditionalOnProperty(prefix="y9.app.log", name="kafkaEnabled", havingValue="true", matchIfMissing=true) public class LogKafkaListenerConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description LogKafkaListenerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Y9AccessLogListenery9AccessLogListener(Y9logAccessLogService y9logAccessLogService)Y9FlowableAccessLogListenery9FlowableAccessLogListener(Y9logFlowableAccessLogService y9logFlowableAccessLogService)org.springframework.kafka.core.KafkaTemplate<?,?>y9KafkaTemplate(org.springframework.kafka.core.ProducerFactory<Object,Object> kafkaProducerFactory)Y9UserLoginInfoListenery9UserLoginInfoListener(Y9logUserLoginInfoService y9logUserLoginInfoService, Y9logUserHostIpInfoService y9logUserHostIpInfoService, Y9logIpDeptMappingService y9logIpDeptMappingService)
-
-
-
Method Detail
-
y9AccessLogListener
@Bean public Y9AccessLogListener y9AccessLogListener(Y9logAccessLogService y9logAccessLogService)
-
y9FlowableAccessLogListener
@Bean public Y9FlowableAccessLogListener y9FlowableAccessLogListener(Y9logFlowableAccessLogService y9logFlowableAccessLogService)
-
y9KafkaTemplate
@Primary @Bean("y9KafkaTemplate") @ConditionalOnMissingBean(name="y9KafkaTemplate") public org.springframework.kafka.core.KafkaTemplate<?,?> y9KafkaTemplate(org.springframework.kafka.core.ProducerFactory<Object,Object> kafkaProducerFactory)
-
y9UserLoginInfoListener
@Bean public Y9UserLoginInfoListener y9UserLoginInfoListener(Y9logUserLoginInfoService y9logUserLoginInfoService, Y9logUserHostIpInfoService y9logUserHostIpInfoService, Y9logIpDeptMappingService y9logIpDeptMappingService)
-
-