public class SynchronousBlockingRetrievalFactory extends Object implements RetrievalFactory
| Constructor and Description |
|---|
SynchronousBlockingRetrievalFactory(String streamName,
software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
RecordsFetcherFactory recordsFetcherFactory,
int maxRecords)
Deprecated.
|
SynchronousBlockingRetrievalFactory(String streamName,
software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
RecordsFetcherFactory recordsFetcherFactory,
int maxRecords,
Duration kinesisRequestTimeout) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
GetRecordsRetrievalStrategy |
createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
public SynchronousBlockingRetrievalFactory(String streamName, software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient, RecordsFetcherFactory recordsFetcherFactory, int maxRecords, Duration kinesisRequestTimeout)
@Deprecated public SynchronousBlockingRetrievalFactory(String streamName, software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient, RecordsFetcherFactory recordsFetcherFactory, int maxRecords)
public GetRecordsRetrievalStrategy createGetRecordsRetrievalStrategy(@NonNull ShardInfo shardInfo, @NonNull MetricsFactory metricsFactory)
createGetRecordsRetrievalStrategy in interface RetrievalFactorypublic RecordsPublisher createGetRecordsCache(@NonNull ShardInfo shardInfo, @NonNull MetricsFactory metricsFactory)
createGetRecordsCache in interface RetrievalFactoryCopyright © 2020. All rights reserved.