You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/09/15 06:13:53 UTC

[GitHub] [kafka] ning2008wisc opened a new pull request #9287: extract common functions from SourceConnector and SourceTask

ning2008wisc opened a new pull request #9287:
URL: https://github.com/apache/kafka/pull/9287


   The idea is to centralize the common functions of current `MirrorSourceConnector` and `MirrorSourceTask` to prepare for reusing them in new Sink Connector and Sink Task.
   
   Two new files are proposed:
   - `MirrorConnectorCommon`: contains the reusable functions from `MirrorSourceConnector`
   - `MirrorSourceTask`: contains the reusable functions from `MirrorSourceTask`
   
   no functional changes to current behaviors


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ning2008wisc commented on pull request #9287: extract common functions from SourceConnector and SourceTask

Posted by GitBox <gi...@apache.org>.
ning2008wisc commented on pull request #9287:
URL: https://github.com/apache/kafka/pull/9287#issuecomment-792010390


   thanks @mimaison @rajinisivaram or @rhauch for your attention to review


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ning2008wisc commented on pull request #9287: extract common functions from SourceConnector and SourceTask

Posted by GitBox <gi...@apache.org>.
ning2008wisc commented on pull request #9287:
URL: https://github.com/apache/kafka/pull/9287#issuecomment-784388693


   Hi @mimaison @ryannedolan sorry for ping again for your high-level thoughts on this PR. If there is any gap to start the review, I am happy to try to fill the gap. Thanks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [kafka] ning2008wisc commented on pull request #9287: extract common functions from SourceConnector and SourceTask

Posted by GitBox <gi...@apache.org>.
ning2008wisc commented on pull request #9287:
URL: https://github.com/apache/kafka/pull/9287#issuecomment-769983845


   @mimaison @ryannedolan As titled, I think the change proposed in this PR may be preferred when tackling https://issues.apache.org/jira/browse/KAFKA-10339 (EOS) since lots of common logics can be reused.
   
   Given https://github.com/apache/kafka/pull/9451 has to be a big PR anyway, I slightly prefer to have the common logic extraction in a separate PR, like this one. But if your folks believe it looks better to have EOS and common logic extraction in one PR, that also sounds good to me :) Please invite other folks to chime in if needed.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org