Amazon Kinesis Data Streams announces two new API features to simplify consuming data from Kinesis streams

By GIXnews

Amazon Kinesis Data Streams announces two new API features that simplify applications that consume data from Kinesis Data streams. The first feature is an optional filtering field in the ListShards API that enables you to set filtering criteria for the shards that you want to list from a data stream. For example, you can now use a timestamp filter to list shards with data at a certain time point. The second feature is a new field called ChildShards in the GetRecords and the SubscribeToShards APIs that enables you to discover child shards of a closed shard (without having to use the ListShards API to list all closed and open shards). Applications consuming data from Kinesis Data Streams can use this new field to efficiently transition reading from a closed shard to reading from its child shard. This is a common use case encountered by consuming applications when a shard is closed due to stream scaling operations.

Source:: Amazon AWS