简体   繁体   English

我可以在单个 Kafka-Connector S3 接收器连接器中映射具有多个主题的多个存储桶吗?

[英]Can I map multiple buckets with multiple topics in a single Kafka-Connector S3 sink connector?

Google didn't help me, so I want to ask you.谷歌没有帮助我,所以我想问你。 I have a lot of kafka topics, and I want to store the messages of a particular topic in a particular S3 bucket.我有很多 kafka 主题,我想将特定主题的消息存储在特定的 S3 存储桶中。

Do I need to create an S3 sink connector for each bucket or can I configure all the stuff in a single S3 json file (map a bucket with a topic)?我是否需要为每个存储桶创建一个 S3 接收器连接器,还是可以在单个 S3 json 文件中配置所有内容(将存储桶映射到一个主题)?

Thanks for your help!谢谢你的帮助! :) :)

The S3 bucket name is specified per-connector , so you will need to create one connector per bucket. S3 存储桶名称是按连接器指定的,因此您需要为每个存储桶创建一个连接器。

Note that you can specify multiple topics per connector ( topics / topics.regex ), so if you wanted multiple topics going to one bucket (but different paths), you could do this with a single connector.请注意,您可以为每个连接器指定多个主题 ( topics / topics.regex ),因此如果您希望多个主题进入一个存储桶(但路径不同),您可以使用单个连接器执行此操作。 But for multiple buckets, you'll need multiple connectors.但是对于多个存储桶,您将需要多个连接器。

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

相关问题 Confluent 的 S3 Sink Connector for Kafka Connect 能否使用“topics.dir”将主题写入 S3 存储桶中的嵌套(不是顶级)文件夹? - Can Confluent's S3 Sink Connector for Kafka Connect write topics to a nested (not a top-level) folder in an S3 bucket using `topics.dir`? Kafka Connect S3 sink 连接器与自定义 Partitioner 奇怪行为 - Kafka Connect S3 sink connector with custom Partitioner strange behavior Kafka S3 接收器连接器不提交偏移量 - Kafka S3 sink connector does not commit offset 无法运行 s3 sink 连接器以在 Minio 上持久保存 kafka 数据 - Unable to run s3 sink connector for persisting kafka data on Minio Kafka s3 接收器连接器 - 一个 json 中有许多 json - Kafka s3 sink connector - many jsons in one json kafka s3 接收器连接器在获取 NULL 数据时崩溃 - kafka s3 sink connector crashed when It gets NULL data 将单个Cloudfront实例上的多个子域映射到多个s3存储桶 - Map multiple subdomains on a single cloudfront instance to multiple s3 buckets 我可以将数据从多个 S3 存储桶复制到单个 S3 存储桶吗? - Can I replicate data from Multiple S3 buckets to a single S3 bucket? Kafka S3 源连接器 - Kafka S3 Source Connector Kafka 连接 s3 sink 多个分区 - Kafka connect s3 sink multiple partitions
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM