Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
other_dependencies
src/main
.gitignore
README.md
build.gradle

README.md

数据同步中间件插件开发

EventConverter

通过spring.factories发布

cn.vbill.middleware.porter.core.event.s.EventConverter = \
  cn.vbill.middleware.porter.plugin.OggXmlConverter

通过配置文件生效

porter.task[index].consumer.converter=oggXml

EventProcessor

可以以jar、class、源码的形式通过配置文件生效

porter.task[index].consumer.eventProcessor.className=cn.vbill.middleware.porter.plugin.CustomEventProcessor
porter.task[index].consumer.eventProcessor.content=文件路径

DataLoader

    参见样例代码,通过spring.factories发布

DataConsumer

    参见样例代码,通过spring.factories发布

插件注册

放置到porter-boot-${version}/plugins目录下,重启node-boot后生效。

You can’t perform that action at this time.