Architecture
- Creating an Amazon Kinesis Data Firehose Delivery Stream Follow up the guide.
-
Name your delivery stream
ExampleDeliveryStream
-
Source
Direct PUT or other sources
. -
Destination
Amazon S3
-
S3 prefix:
firehose_python/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/
-
S3 error prefix:
firehose_python/year=!{timestamp:yyyy}/month=!{timestamp:MM}/day=!{timestamp:dd}/!{firehose:error-output-type}
-
Buffer size:
5M
-
Buffer interval:
60s
When you create the Kinesis Data Firehose delivery stream, also create the delivery stream's and
IAM role
.
- Generate Data via Python Firehose SDK stock-firehose.py
python stock-firehose.py