服务 · Analytics · 基于 CLF-C02
Amazon Data Firehose
Managed delivery of streaming data to S3, Redshift, OpenSearch and more. Managed Flink analyzes streams.
本课尚未翻译,暂以英文显示。
你在云从业者中已学过
- Firehose delivers streaming data to S3, Redshift or OpenSearch Service with no code.
- Kinesis Data Streams is for your own consumers and real-time processing.
- Amazon SQS holds messages until a worker takes them.
Delay
- Data Streams
- Real time, about 200 ms
- Firehose
- Near real time, buffered
- SQS
- Not a stream
Consumers
- Data Streams
- You write them
- Firehose
- None, it delivers
- SQS
- Workers pull messages
Replay
- Data Streams
- Yes, within retention
- Firehose
- No
- SQS
- No, deleted when processed
Scaling
- Data Streams
- Shards or on-demand
- Firehose
- Automatic
- SQS
- Automatic
Order
- Data Streams
- Per shard
- Firehose
- None
- SQS
- FIFO queues
| Compare | Data Streams | Firehose | SQS |
|---|---|---|---|
| Delay | Real time, about 200 ms | Near real time, buffered | Not a stream |
| Consumers | You write them | None, it delivers | Workers pull messages |
| Replay | Yes, within retention | No | No, deleted when processed |
| Scaling | Shards or on-demand | Automatic | Automatic |
| Order | Per shard | None | FIFO queues |
1 / 3
Delay
- Data Streams
- Real time, about 200 ms
- Firehose
- Near real time, buffered
- SQS
- Not a stream
Consumers
- Data Streams
- You write them
- Firehose
- None, it delivers
- SQS
- Workers pull messages
| Compare | Data Streams | Firehose | SQS |
|---|---|---|---|
| Delay | Real time, about 200 ms | Near real time, buffered | Not a stream |
| Consumers | You write them | None, it delivers | Workers pull messages |
2 / 3
Replay
- Data Streams
- Yes, within retention
- Firehose
- No
- SQS
- No, deleted when processed
Scaling
- Data Streams
- Shards or on-demand
- Firehose
- Automatic
- SQS
- Automatic
| Compare | Data Streams | Firehose | SQS |
|---|---|---|---|
| Replay | Yes, within retention | No | No, deleted when processed |
| Scaling | Shards or on-demand | Automatic | Automatic |
3 / 3
Order
- Data Streams
- Per shard
- Firehose
- None
- SQS
- FIFO queues
| Compare | Data Streams | Firehose | SQS |
|---|---|---|---|
| Order | Per shard | None | FIFO queues |
是什么
Firehose buffers incoming records by size or by time, then writes a batch to the destination. The default wait for S3 is up to 300 seconds, and you can lower it, even to zero seconds for some destinations. It is still near real time, not real time, because it delivers batches. Destinations include S3, Redshift (through S3), OpenSearch Service, Splunk, Apache Iceberg tables and HTTP endpoints. A Lambda function can transform records on the way, and Firehose can convert JSON to Parquet or ORC, which saves cost in later queries. Scaling is automatic, and you manage no shards.
是什么
To analyze a stream as it flows, use Amazon Managed Service for Apache Flink. It runs Apache Flink code (Java, Python, Scala or Flink SQL) on streams from Kinesis Data Streams or MSK, for example to count events per minute and send results on. It replaces the old Kinesis Data Analytics for SQL, which AWS shut down in January 2026.
要记住
- Near real time: buffers by size or time before it delivers.
- Destinations: S3, Redshift, OpenSearch Service, Splunk, Iceberg tables, HTTP endpoints.
- Lambda transform and format conversion to Parquet or ORC.
- Fully managed and automatic scaling. No replay and no custom consumers.
要记住
- Managed Flink: Flink code or Flink SQL on live streams. It replaced Kinesis Data Analytics for SQL.
考试中
- “Load streaming data into S3 with no code and no servers” points to Firehose.
- “Convert JSON to Parquet while loading” points to Firehose format conversion.
- “Real-time metrics on a stream, such as a sliding window” points to Managed Service for Apache Flink.
- “Several custom consumers, replay” points to Kinesis Data Streams, not Firehose.
别和这些弄混
Amazon KinesisReal-time streams that you size in shards. Partition keys decide order and balance.
Amazon Managed Streaming for Apache Kafka (Amazon MSK)Managed Apache Kafka. Choose it when applications already use Kafka.
Amazon Simple Queue Service (Amazon SQS)The settings that decide behavior: visibility timeout, long polling, delay, retention, DLQs, and scaling on queue depth.