You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/10/23 15:46:58 UTC

[GitHub] [flink] StephanEwen commented on pull request #13574: [FLINK-18323] Add a Kafka source implementation based on FLIP-27.

StephanEwen commented on pull request #13574:
URL: https://github.com/apache/flink/pull/13574#issuecomment-715423024


   We need to rethink the Maven Module setup here:
   
   The `flink-connector-base` is not Scala-versioned (has no Scala version suffix). Because of that it must not release any artifacts that have a (transitive) Scala dependency. The module has no Scala dependency in compile scope, so the main artifact is fine.
   The module has a Scala dependency in test-scope, for the minicluster (testutils). So far the connector base did not release a test-scope artifact.
   
   Now there is a change that exports a test jar. We need to do hence one of the two following changes:
     - Either the module gets a Scala version suffix. That would be good to avoid, because otherwise all connectors that depend on this need to be Scala-versioned as well (and released multiple times).
   
     - Or we don't have a test jar. If we want reusable testing frameworks, we can put them into a separate module (`flink-test-utils/flink-connector-testframework` or so). A connector can then again depend on this testing framework in a specific scala version as long as it does not export a test jar.
   
   I know, it complicated :-( But that's the ugly reality of Scala cross-versioning.
   


----------------------------------------------------------------
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