Amazon Kinesis Data Streams FAQs Data Streaming Service Amazon Web Services Flashcards ionicons-v5-c

We recommend Amazon Kinesis Data Streams for use cases with requirements that are similar to the following:

Q: When should I use Amazon Kinesis Data Streams, and when should I use Amazon SQS?

Q: When should I use enhanced fan-out?

Yes, you will only pay for the prorated portion of the hour the consumer was registered to use enhanced fan-out.

Q: Does consumer-shard hour billing for enhanced fan-out automatically prorate if I terminate or start a consumer within the hour?

No, enhance fan-out can be activated without impacting data producers or data streams.

Q: Do I need to change my producers or my data stream to use enhanced fan-out?

Visit the Kinesis Data Streams user documentation to learn how to upgrade from KCL 1.x to KCL 2.x.

Q: How do I upgrade from KCL 1.x to 2.x to use SubscribeToShard and enhanced fan-out?

The persistent connection can last up to 5 minutes.

Q: How long does the SubscribeToShard persistent connection last?

Typical scaling requests should take a few minutes to complete. Larger scaling requests will take longer than smaller ones.

Q: How long does it take to change the throughput of my Amazon Kinesis data stream using UpdateShardCount or the AWS Management Console?

Yes. You can continue adding data to and reading data from your Amazon Kinesis data stream while you use UpdateShardCount or reshard to change the throughput of the data stream.

Q: Does Amazon Kinesis Data Streams remain available when I change the throughput of my Amazon Kinesis data stream using UpdateShardCount or via resharding?

Customers often choose server-side encryption over client-side encryption for one of the following reasons:

Q: Why should I use server-side encryption instead of client-side encryption?

Yes, there is a getting started guide in the user documentation.

Q: Is there a server-side encryption getting started guide?

Possibly. This depends on the key you use for encryption and the permissions governing access to the key.

Q: Does server-side encryption interfere with how my applications interact with Kinesis Data Streams?

Kinesis Data Streams uses an AES-GCM 256 algorithm for encryption.

Q: What encryption algorithm is used for server-side encryption?

No, only new data written into the data stream will be encrypted (or left decrypted) by the new application of encryption.

Q: If I encrypt a data stream that already has data written to it, either in plain text or ciphertext, will all of the data in the data stream be encrypted or decrypted if I update encryption?

Server-side encryption is a stream specific feature.

Q: Is server-side encryption a shard specific feature or a stream specific feature?

If you use Amazon EC2 for running your Amazon Kinesis Applications, you will be charged for Amazon EC2 resources in addition to Amazon Kinesis Data Streams costs.

Q: Other than Amazon Kinesis Data Streams costs, are there any other costs that might incur to my Amazon Kinesis Data Streams usage?