[ISSUES #261] rocketmq-connect-kafka-connector-adapter 0.0.1-SNAPSHOT#247
Conversation
先创建个issue吧,用于纪录和讨论 |
|
@sunxiaojian debezium适配的时候好像有适配kafka source端,看一下能不能融合到一起。 |
ok , 大概review了一下功能,非常不错的能力,和debezium中的source 和 sink 兼容实现有所不同; |
|
是的,该PR专注于 kafka source -> rocketmqConnect -> kafka sink。与其他 RocketMQ Connector交互,我希望是通过transform来提供, 名字暂定为KafkaRocketmqTransformation, 比如kafka connect source -> KafkaRocketmqTransformation ->RocketMQ Connect-> RocketMQ Connect sink 。通过KafkaRocketmqTransformation还可以达到Kafka的transform和RocketMQ的transform混合使用。 |
可以看一下debezium 本项目中debezium下面的kafka connect adaptor, 整体来看 |
|
我提交该pr的之前看过debezium的kafka connect adaptor,有以下几点我还是想提交一个通用的灵活的适配器: 关于scheme和transforms适配,我想的是通过在rokectmq connect的transforms层面去做,这样用户觉得必要的时候(比如和rokectmq原生connector和其插件配合的时候)才去做这个配置。 |
通用性比较认同,这个也是计划要去支持; |
What is the purpose of the change
需要一个通用适配器connector,快速地让现存的大量的kafka connector运行在rocketmq-connect,使得数据在rocketmq导入导出。
Brief changelog
增加2个Connector,一个是SourceConnector:org.apache.rocketmq.connect.kafka.connector.KafkaRocketmqSourceConnector,用来适配Kafka Source Connector。一个是SinkConnector:org.apache.rocketmq.connect.kafka.connector.KafkaRocketmqSinkConnector,用来适配Kafka Sink Connector
Verifying this change
参考ReadMe的快速开始,运行kafka-file-connector
Follow this checklist to help us incorporate your contribution quickly and easily. Notice,
it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.[ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyleto make sure basic checks pass. Runmvn clean install -DskipITsto make sure unit-test pass. Runmvn clean test-compile failsafe:integration-testto make sure integration-test pass.