[英]Kafka S3 Sink basic doubts
Do I really need to use confluent (CLI maybe)?我真的需要使用 confluent(也许是 CLI)吗? Can I write my custom connector?
我可以编写自定义连接器吗?
How can I write my first Kafka Sink?如何编写我的第一个 Kafka Sink? How to deploy them?
如何部署它们?
For now, let's assume we have the following details:现在,假设我们有以下详细信息:
Topic: curious.topic
S3 bucket name: curious.s3
Data in the topic: Text/String
My OS: Mac
You start at the documentation for S3 Sink, looking over the configuration properties, and understand how to run Connect itself and deploy any connector (use the REST API);您从 S3 Sink 的文档开始,查看配置属性,并了解如何运行 Connect 本身和部署任何连接器(使用 REST API); no,
confluent
CLI is never needed.不,永远不需要
confluent
的 CLI。
You don't need to "write your own sink" because Confluent already has an S3 Sink Connector.您不需要“编写自己的接收器”,因为 Confluent 已经有一个 S3 接收器连接器。 Sure, you could fork their open-source repo, and compile it yourself, but that doesn't seem to be what you're asking.
当然,您可以分叉他们的开源存储库,然后自己编译,但这似乎不是您要问的。
You can download the connector using different command confluent-hub
.您可以使用不同的命令
confluent-hub
下载连接器。
Note: pinterest/secor does the same thing, without Kafka Connect.注意: pinterest/secor做同样的事情,没有 Kafka Connect。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.