@Configuration
@EnableConfigurationProperties(value=de.otto.edison.aws.configuration.AwsProperties.class)
public class KinesisAutoConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
KinesisAutoConfiguration(de.otto.edison.aws.configuration.AwsProperties awsProperties) |
| Modifier and Type | Method and Description |
|---|---|
software.amazon.awssdk.services.kinesis.KinesisClient |
kinesisClient(software.amazon.awssdk.core.auth.AwsCredentialsProvider credentialsProvider) |
de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory |
messageLogReceiverEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient,
org.springframework.context.ApplicationEventPublisher eventPublisher) |
de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory |
messageSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient) |
@Autowired public KinesisAutoConfiguration(de.otto.edison.aws.configuration.AwsProperties awsProperties)
@Bean @ConditionalOnMissingBean(value=software.amazon.awssdk.services.kinesis.KinesisClient.class) public software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient(software.amazon.awssdk.core.auth.AwsCredentialsProvider credentialsProvider)
@Bean
@ConditionalOnMissingBean
public de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory messageSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient)
@Bean
@ConditionalOnMissingBean
public de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpointFactory messageLogReceiverEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry interceptorRegistry,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient,
org.springframework.context.ApplicationEventPublisher eventPublisher)