简体   繁体   English

Kinesis Firehose 多个区域中的同一流

[英]Kinesis Firehose same stream in multiple regions

I have an API built using flask which dumps data to s3 using kinesis firehose.我有一个使用 Flask 构建的 API,它使用 kinesis firehose 将数据转储到 s3。 So far it is only in one region with load balancer and auto-scaling group containing multiple instances.到目前为止,它仅在一个具有负载均衡器和包含多个实例的自动伸缩组的区域中。 Now I want to have the flask application in multiple region in order to reduce latency.现在我想在多个区域使用 Flask 应用程序以减少延迟。 However, I could find a way to configure Kinesis Firehose stream for different regions.但是,我可以找到一种为不同区域配置 Kinesis Firehose 流的方法。 That means, even if I put my application in different regions, Kinesis Firehose will become the bottleneck.这意味着,即使我将我的应用程序放在不同的区域,Kinesis Firehose 也会成为瓶颈。

Is it possible to support multiple regions for kinesis firehose and channel the data based on the closest region?是否可以支持 kinesis firehose 的多个区域并根据最近的区域引导数据?

When creating the stream using boto3 specify the region.使用 boto3 创建流时,请指定区域。 Keep the same stream name but pick different regions each time.保持相同的流名称,但每次选择不同的区域。 If you want to manually do it from the AWS web console then change the region at the top and then create the stream.如果您想从 AWS Web 控制台手动执行此操作,请更改顶部的区域,然后创建流。 Keep repeating the process for each region.继续为每个区域重复该过程。

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

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