Same Kinesis Consumer running on multiple EC2 instances
问题 I have multiple instances of EC2 running for a same microservice, which has a Kinesis consumer running(with KCL). My question is, when Kinesis stream gets a new event, since all consumers are polling, will the same event be consumed by consumers of all instances? 回答1: The event will be consumed only by one consumer 回答2: KCL is designed so that each shard is processed by only one worker - the built-in lease mechanism is the key to providing this functionality. While under normal circumstances