简体   繁体   English

如何将RabbitMQ消息以csv文件格式传输到Amazon S3存储桶并使用Athena查询存储桶?

[英]How to transfer RabbitMQ message into Amazon S3 bucket in csv file format and query the bucket using Athena?

I'm working on a hard app that read a RabbitMQ message and transfer it into an Amazon S3 bucket. 我正在开发一个读取RabbitMQ消息并将其传输到Amazon S3存储桶的硬件应用程序。

The RabbitMQ message should be stored as a .csv file format in the S3 bucket. RabbitMQ消息应存储为S3存储桶中的.csv文件格式。

The Amazon S3 bucket should be connected to AWS Athena to query on it. 应将Amazon S3存储桶连接到AWS Athena以对其进行查询。

Can anyone who has a clarification help me ? 任何有澄清的人都可以帮助我吗?

Here is the documentation for how to create an Athena table that reads CSV data: https://docs.aws.amazon.com/athena/latest/ug/lazy-simple-serde.html 以下是有关如何创建读取CSV数据的Athena表的文档: https//docs.aws.amazon.com/athena/latest/ug/lazy-simple-serde.html

There are also many questions here on StackOverflow that ask the same thing, see for example Query csv tables stored s3 through athena StackOverflow上也有很多问题要求同样的东西,例如查看查询csv表存储s3到athena

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

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