There is a SubscribeToShard SDK call. Is there an "unsubscribe from shard"?

0

There is a SubscribeToShard SDK call. Is there an "unsubscribe from shard"? Thank you.

已提问 1 年前239 查看次数
1 回答
0

Hi,

Kinesis Data Streams API doesn't offer an explicit "Unsubscribe" operation as there is "SubscribeToShard"[1]. However, by stopping your consumer from processing SubscribeToShard events, you can essentially unsubscribe from a shard.

[1] SubscribeToShard - https://docs.aws.amazon.com/kinesis/latest/APIReference/API_SubscribeToShard.html

AWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则