在多个EC2实例上运行的同一Kinesis Consumer [英] Same Kinesis Consumer running on multiple EC2 instances

查看:75
本文介绍了在多个EC2实例上运行的同一Kinesis Consumer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个EC2实例正在为同一个微服务运行,该微服务有一个Kinesis使用者正在运行(使用KCL).

I have multiple instances of EC2 running for a same microservice, which has a Kinesis consumer running(with KCL).

我的问题是,当Kinesis流收到一个新事件时,由于所有使用者都在轮询,因此所有实例的使用者都将使用同一事件吗?

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?

推荐答案

该事件仅由一个使用者使用

The event will be consumed only by one consumer

这篇关于在多个EC2实例上运行的同一Kinesis Consumer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆