简体   繁体   中英

AWS Kinesis Data Stream, is it possible for a parition key to belong to multiple shards?

I'm new to Kinesis Data Streams and I'd like to know if the Kinesis Data Streams behavior is similar to the DynamoDB Streams behavior In DDB Streams, A partition key can only belong to 1 shard whereas 1 shard can hold multiple keys.

Is the same true for Kinesis Data Streams as well?

Yes, shards are how streams scale. The partition key is used to associate the data record to a specific shard https://docs.aws.amazon.com/streams/latest/dev/key-concepts.html#partition-key

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM