jlprat opened a new pull request #10934:
URL: https://github.com/apache/kafka/pull/10934


   This is a draft PR to showcase how complicated is to migrate to Scala3.
   
   It includes a necessary change as well (removal of Scala Collections Compat 
and Java8 Compat libraries). This is needed as those libraries' only purpose 
was to cross-compile to Scala 2.11 and 2.12.
   
   After this is done, only a bit of workaround gradle was needed (library 
names for Scala 3 compiler changed).
   
   The only code change needed is the renaming of methods like `asJava`, 
`asScala`, `until`, `from`, and `to` which  were since Scala 2.13.0 (Compat 
libraries were shadowing those). And this change is pretty automatic.
   On the test file (only 1 didn't really compile) only the right new import 
needed to be brought in.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

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


Reply via email to