-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala3 support for jms connector #145
Conversation
3079935
to
530736d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more cases of Any
|
||
def graphStageDestination: Destination | ||
|
||
def scheduleOnceOnGraphStage(timerKey: Any, delay: FiniteDuration): Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid using Any
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This signature is taken from the function I am delegating to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdedetrich is this answer ok? The timerKey can be any case class, the 'Any' type is actually what makes sense. This is also an internal class, not an API one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check this now, we really shouldn't have Any
like this so something fishy is going on.
Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I had a deeper look and you are right, it also uses Any
with the current version (i.e. scheduleOnce
). This probably should be looked into but its not relevant to Scala 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala add scala3 support for s3 Update TestUtils.scala refactor Update Dependencies.scala hex string issue merge issue Update Dependencies.scala more merge issues
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala add scala3 support for s3 Update TestUtils.scala refactor Update Dependencies.scala hex string issue merge issue Update Dependencies.scala more merge issues Update Formats.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala add scala3 support for s3 Update TestUtils.scala refactor Update Dependencies.scala hex string issue merge issue Update Dependencies.scala more merge issues Update Formats.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala add scala3 support for s3 Update TestUtils.scala refactor Update Dependencies.scala hex string issue merge issue Update Dependencies.scala more merge issues Update Formats.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (apache#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
* try scala 3 (#123) * enable scala3 support for jms connector * refactor * scala 2.12 compile issue * enable elasticsearch Update RestBulkApi.scala sort imports revert merge issue Update CouchbaseFlow.scala
Part of #126
Scala 3 compile issues needed fixing.
I introduced a GraphStageCompanion trait to give public access to the methods that were needed to get Scala3 compile to work.