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

Garyelephant.fea.plugin docs #39

Merged
merged 8 commits into from
Sep 18, 2017
Merged

Conversation

garyelephant
Copy link
Contributor

@garyelephant garyelephant commented Sep 18, 2017

Plugin document自动生成功能:

功能描述:根据plugin开发者定义的*.docs文件,自动生成markdown文件

优点:

  • plugin document 定义方式相同,展现格式统一,可程序解析。

示例:执行命令:

sbt "run-main org.interestinglab.waterdrop.docutils.PluginDocCommand src/main/antlr4/PluginDocExample.docs"

PluginDocExample.docs内容:

@waterdropPlugin
@pluginGroup input
@pluginName kafka
@pluginDesc "get message from kafka"
@pluginAuthor garyelephant
@pluginHomepage https://interestinglab.github.io/waterdrop
@pluginVersion 1.2.3

@pluginOption array topics yes "a list of topics to consume"
@pluginOption string consumer.bootstrap.servers yes "kafka broker list"
@pluginOption string consumer.group.id yes "consumer group id"
@pluginOption number consumer.num.consumer.fetchers="2" no

输出如下markdown内容:

input plugin : kafka

Description

get message from kafka

Options

name type required default value
consumer.bootstrap.servers string yes -
consumer.group.id string yes -
consumer.num.consumer.fetchers number no 2
topics array yes -
consumer.bootstrap.servers [string]

kafka broker list

consumer.group.id [string]

consumer group id

consumer.num.consumer.fetchers [number]
topics [array]

a list of topics to consume

@RickyHuo RickyHuo merged commit 5344d09 into master Sep 18, 2017
@garyelephant garyelephant deleted the garyelephant.fea.plugin_docs branch September 22, 2017 14:26
ic4y pushed a commit to ic4y/incubator-seatunnel that referenced this pull request May 22, 2023
[Hotfix][CDC][Oracle] Fix oracle driver class not loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants