| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.interfaces.v2 | |
| com.amazonaws.services.kinesis.clientlibrary.lib.worker | |
| com.amazonaws.services.kinesis.multilang |
This package provides a KCL application which implements the multi language protocol.
|
| Modifier and Type | Method and Description |
|---|---|
IRecordProcessor |
IRecordProcessorFactory.createProcessor()
Returns a record processor to be used for processing data records for a (assigned) shard.
|
| Modifier and Type | Method and Description |
|---|---|
IShardConsumer |
KinesisShardConsumerFactory.createShardConsumer(ShardInfo shardInfo,
StreamConfig streamConfig,
ICheckpoint checkpointTracker,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
KinesisClientLibLeaseCoordinator leaseCoordinator,
long parentShardPollIntervalMillis,
boolean cleanupLeasesUponShardCompletion,
ExecutorService executorService,
IMetricsFactory metricsFactory,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
Optional<Integer> retryGetRecordsInSeconds,
Optional<Integer> maxGetRecordsThreadPool,
KinesisClientLibConfiguration config,
ShardSyncer shardSyncer,
ShardSyncStrategy shardSyncStrategy,
LeaseCleanupManager leaseCleanupManager) |
IShardConsumer |
IShardConsumerFactory.createShardConsumer(ShardInfo shardInfo,
StreamConfig streamConfig,
ICheckpoint checkpointTracker,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
KinesisClientLibLeaseCoordinator leaseCoordinator,
long parentShardPollIntervalMillis,
boolean cleanupLeasesUponShardCompletion,
ExecutorService executorService,
IMetricsFactory metricsFactory,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
Optional<Integer> retryGetRecordsInSeconds,
Optional<Integer> maxGetRecordsThreadPool,
KinesisClientLibConfiguration config,
ShardSyncer shardSyncer,
ShardSyncStrategy shardSyncStrategy,
LeaseCleanupManager leaseCleanupManager)
Returns a shard consumer to be used for consuming a (assigned) shard.
|
| Constructor and Description |
|---|
InitializeTask(ShardInfo shardInfo,
IRecordProcessor recordProcessor,
ICheckpoint checkpoint,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
StreamConfig streamConfig,
GetRecordsCache getRecordsCache)
Constructor.
|
ProcessTask(ShardInfo shardInfo,
StreamConfig streamConfig,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
GetRecordsCache getRecordsCache) |
ProcessTask(ShardInfo shardInfo,
StreamConfig streamConfig,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
com.amazonaws.services.kinesis.clientlibrary.lib.worker.ThrottlingReporter throttlingReporter,
GetRecordsCache getRecordsCache) |
ShutdownNotificationTask(IRecordProcessor recordProcessor,
IRecordProcessorCheckpointer recordProcessorCheckpointer,
ShutdownNotification shutdownNotification,
ShardInfo shardInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
MultiLangRecordProcessor
A record processor that manages creating a child process that implements the multi language protocol and connecting
that child process's input and outputs to a
MultiLangProtocol object and calling the appropriate methods on
that object when its corresponding MultiLangRecordProcessor.initialize(com.amazonaws.services.kinesis.clientlibrary.types.InitializationInput), MultiLangRecordProcessor.processRecords(com.amazonaws.services.kinesis.clientlibrary.types.ProcessRecordsInput), and MultiLangRecordProcessor.shutdown(com.amazonaws.services.kinesis.clientlibrary.types.ShutdownInput) methods are
called. |
| Modifier and Type | Method and Description |
|---|---|
IRecordProcessor |
MultiLangRecordProcessorFactory.createProcessor() |
Copyright © 2023. All rights reserved.