有没有办法在 Kafka Connect 启动时自动加载(多个)Kafka Connect 连接器(例如在 Confluence Platform 中)?
到目前为止我发现了什么:
Confluence Docs 声明使用bin/connect-standalone
独立模式的命令以及工作线程和每个连接器的属性文件。
对于分布式模式,您必须通过 REST API 运行连接器。
https://docs.confluence.io/current/connect/userguide.html#standalone-mode,https://docs.confluence.io/current/connect/managing/configuring.html#standalone-example
是否有另一种方法,例如包含应在“connect-[standalone|distributed].properties”文件中运行的所有连接器(类似于在 ksql-server.properties 中提供 KSQL 查询文件),以便它们自动加载到Kafka Connect 的启动(例如在 Confluence 平台中)?
或者,即使在生产环境中,连接器是否也如上所述“手动”加载?