Kinesis Client Library (KCL) Flashcards
1
Q
Kinesis Client Library is a ….
A
Kinesis Client Library is a Java library that helps read records from a Kinesis Stream with distributed applications sharing the read workload.
2
Q
The KCL performs the following tasks:
A
- Connects to the stream.
- Enumerates the shards.
- Coordinates shard associations with other workers (if any).
- Instantiates a record processor for every shard it manages.
- Pulls data records from the stream.
- Pushes the records to the corresponding record processor.
- Checkpoints processed records.
- Balances shard-worker associations when the worker instance count changes.
- Balances shard-worker associations when shards are split or merged.
3
Q
KCL can run on EC2…
A
KCL can run on EC2, Elastic Beanstalk, and on-premises servers.