简体   繁体   English

使用Firehose将Kinesis Stream转换为S3备份

[英]Kinesis Stream to S3 Backup using Firehose

I am using AWS Kinesis Stream that is containing customer transactions. 我正在使用包含客户交易的AWS Kinesis Stream。 I want to backup the transactions into S3 before start processing them. 我想在开始处理之前将事务备份到S3中。 How can I use bare Kinesis Firehose to backup the transactions from Kinesis Stream without running any Lambda or other computing component for it? 如何在不运行任何Lambda或其他计算组件的情况下,使用裸Kinesis Firehose从Kinesis Stream备份事务?

You can reverse the order of your Kinesis building blocks: 您可以颠倒Kinesis构建块的顺序:

  1. Instead of writing into Kinesis Stream, write into Kinesis Firehose that is directed to S3. 无需写入Kinesis Stream,而是写入指向S3的Kinesis Firehose。

  2. Run Kinesis Analytics (KA) application to read the events from your Kinesis Firehose (KF), and write them to a Kinesis Stream (KS). 运行Kinesis Analytics(KA)应用程序以从Kinesis Firehose(KF)中读取事件,并将其写入Kinesis Stream(KS)。 You can use the functionality of KA to do some of the filtering, aggregation and joins that you would otherwise run in your code (Lambda or KCL). 您可以使用KA的功能来执行某些过滤,聚合和联接,而这些过滤,聚合和联接将在代码(Lambda或KCL)中运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM