Flink Task Manager如何预先设置几个设置

发布于 2025-01-20 23:53:11 字数 599 浏览 2 评论 0原文

我需要下载密钥库并在创建源连接器时使用并使用它,目前,我正在覆盖方法但是,这被我的每个源连接器都要求。

 @Override
    public void open(Configuration configuration) throws Exception {

  // do few things like download Keystore to default path etc 
 super.open(configuration)
}

一旦任务经理出现,是否可以选择一些预先的东西?

I need to download Keystore and use it while creating the source connector, currently, I am overriding open method but this gets called for each of my source connectors.

 @Override
    public void open(Configuration configuration) throws Exception {

  // do few things like download Keystore to default path etc 
 super.open(configuration)
}

Is there an option to init a few pre stuff as soon as the task manager came up?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文