@Configuration
@EnableConfigurationProperties(value=de.otto.edison.aws.configuration.AwsProperties.class)
public class KinesisConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
KinesisConfiguration(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.sender.MessageSenderFactory |
messageSenderFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient) |
@Autowired public KinesisConfiguration(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(value=de.otto.synapse.sender.MessageSenderFactory.class)
public de.otto.synapse.sender.MessageSenderFactory messageSenderFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient)