Interface AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder

    • Method Detail

      • amazonKinesisClient

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder amazonKinesisClient​(com.amazonaws.services.kinesis.AmazonKinesis amazonKinesisClient)
        Amazon Kinesis client to use for all requests for this endpoint. The option is a: com.amazonaws.services.kinesis.AmazonKinesis type. Group: common
      • autoDiscoverClient

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder autoDiscoverClient​(boolean autoDiscoverClient)
        Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. The option is a: boolean type. Default: true Group: common
      • configuration

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder configuration​(org.apache.camel.component.aws.kinesis.KinesisConfiguration configuration)
        The component configuration. The option is a: org.apache.camel.component.aws.kinesis.KinesisConfiguration type. Group: common
      • region

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder region​(String region)
        The region in which Kinesis client needs to work. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1)You'll need to use the name Regions.EU_WEST_1.name(). The option is a: java.lang.String type. Group: common
      • bridgeErrorHandler

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: boolean type. Default: false Group: consumer
      • iteratorType

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder iteratorType​(com.amazonaws.services.kinesis.model.ShardIteratorType iteratorType)
        Defines where in the Kinesis stream to start getting records. The option is a: com.amazonaws.services.kinesis.model.ShardIteratorType type. Default: TRIM_HORIZON Group: consumer
      • shardClosed

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder shardClosed​(org.apache.camel.component.aws.kinesis.KinesisShardClosedStrategyEnum shardClosed)
        Define what will be the behavior in case of shard closed. Possible value are ignore, silent and fail. In case of ignore a message will be logged and the consumer will restart from the beginning,in case of silent there will be no logging and the consumer will start from the beginning,in case of fail a ReachedClosedStateException will be raised. The option is a: org.apache.camel.component.aws.kinesis.KinesisShardClosedStrategyEnum type. Default: ignore Group: consumer
      • lazyStartProducer

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: boolean type. Default: false Group: producer
      • autowiredEnabled

        default AwsKinesisComponentBuilderFactory.AwsKinesisComponentBuilder autowiredEnabled​(boolean autowiredEnabled)
        Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: boolean type. Default: true Group: advanced