@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.auth.credentials.AwsCredentialsProvider credentialsProvider) |
KinesisMessageSenderEndpointFactory |
kinesisSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient) |
KinesisMessageLogReceiverEndpointFactory |
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) |
@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.auth.credentials.AwsCredentialsProvider credentialsProvider)
@Bean @ConditionalOnMissingBean public KinesisMessageSenderEndpointFactory kinesisSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry, com.fasterxml.jackson.databind.ObjectMapper objectMapper, software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient)
@Bean @ConditionalOnMissingBean public KinesisMessageLogReceiverEndpointFactory 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)