Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] 提供TIS 插件开发者工具 #233

Closed
baisui1981 opened this issue May 26, 2023 · 1 comment
Closed

[feat] 提供TIS 插件开发者工具 #233

baisui1981 opened this issue May 26, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@baisui1981
Copy link
Member

baisui1981 commented May 26, 2023

开发者开发的组件说明

提供第三方开发者开发工具,当开发者需要为TIS扩展或者新添加 Source/Sink connector 或者batch DataX connector

开发组件 Test Stub组件 说明
DataX Reader Print Writer Connector Write端直接将内容写入system.out中
DataX Writer DataX streamreader 由DataX的streamreader来模拟生成一些随机记录,写入Writer来测试,可参考:WriterTemplate.realExecuteDump
Incr Reader Print stream Writer 简单封装一个Flink SinkFunc 直接将内容写入system.out中
Incr Writer Stream Source Connector 简单封装一个Flink Source Func (随机或者配置化)生成一些有类型的数据,向Writer中写入

开发组件流程

  1. 使用 maven 脚手架工具生成一个初始化插件开发工程骨架(脚手架工具需要开发)

  2. 本地完成测试工作

    新建一个TIS console启动插件,作用是在插件开发工程中启动一个基于jetty的TIS运行环境,让开发者可以直观地感受到开发的插件真实的运行效果。
    可以参考 Jenkins插件的 hpi插件实现本地运行:https://github.com/jenkinsci/maven-hpi-plugin/blob/master/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java

  3. 在初始化工程中编写代码,完成之后,向TIS开发者社区提交申请,放入TIS为第三方开发者提供的module中,作为SubModule

  4. 由TIS统一打包,发布

@baisui1981 baisui1981 added this to the v3.8.0 milestone May 26, 2023
@baisui1981 baisui1981 added enhancement New feature or request 3.8.0 labels May 26, 2023
@baisui1981
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant