QuestionQ35

VerifiedData Operations and Support

A manufacturing company operates many IoT devices in facilities worldwide. The company uses Amazon Kinesis Data Streams to gather data from the devices. The data contains device ID, capture date, measurement type, measurement value, and facility ID. The company uses facility ID as the partition key.

The company's operations team has recently seen many WriteThroughputExceeded exceptions. The team determined that some shards were heavily used while other shards were generally idle.

How should the company address the issues observed by the operations team?

Explanation

Amazon Kinesis Data Streams maps records to shards from the partition key; records with the same key map to the same shard. Using facility ID can concentrate high-volume facilities on a few shards, producing write-throughput exceptions while other shards remain idle. A randomly generated key increases key diversity and distributes writes more evenly across shards.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!