Class KinesisProxyAsyncV2

  • All Implemented Interfaces:
    KinesisProxyAsyncV2Interface

    @Internal
    public class KinesisProxyAsyncV2
    extends Object
    implements KinesisProxyAsyncV2Interface
    Kinesis proxy implementation using AWS SDK v2.x - a utility class that is used as a proxy to make calls to AWS Kinesis for several EFO (Enhanced Fan Out) functions, such as de-/registering stream consumers, subscribing to a shard and receiving records from a shard.
    • Constructor Detail

      • KinesisProxyAsyncV2

        public KinesisProxyAsyncV2​(software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisAsyncClient,
                                   software.amazon.awssdk.http.async.SdkAsyncHttpClient asyncHttpClient,
                                   FanOutRecordPublisherConfiguration fanOutRecordPublisherConfiguration)
        Create a new KinesisProxyV2.
        Parameters:
        kinesisAsyncClient - AWS SDK v2 Kinesis client used to communicate with AWS services
        asyncHttpClient - the underlying HTTP client, reference required for close only
        fanOutRecordPublisherConfiguration - the configuration for Fan Out features