-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use Scala version 2.11 #8
Comments
Interesting. May I ask what the exact nature of your build problem is? Although I haven't tried this library in Scala, in the past I have had no problems mixing Scala 2.10 and 2.11 dependencies. That leads me to believe that the problem is probably due to a clash between the Scala runtime bundled with Kafka and your project's runtime. I'll see if we can upgrade to the 2.11 Kafka anyway. But that might not yet be possible. |
Hi, I checked our decencies and I have no dependencies to Scala 2.10 as far as It seems that sending to Kafka just blocks. I can try to reproduce it with On 11 September 2015 at 10:36, Charith Ellawala notifications@github.com
|
Ah, what I meant was that perhaps the Kafka dependency was pulling in Scala 2.10 runtime -- which could clash with the 2.11 runtime you have in your project. Anyway, I don't see a reason why I can't just use the 2.11 build of Kafka. All tests pass with that version too. If you grab version 1.6 of kafka-junit from Maven Central, it will have the Kafka 2.11 dependencies. Hope that helps. |
That work just fine. Thanks a lot |
kafka-junit is compiled for org.apache.kafka_2.10:0.8.2.1
I would like a version that is compiled with scala 2.11 instead as the 2.10 version does not work when the rest of my project uses 2.11.
Tried to play around with mvn profiles to get this to work, but mvn isn`t by strongest side to say the least.
Any chance of getting a version compiled for 2.11 or maybe compile 1.6 for 2.11?
The text was updated successfully, but these errors were encountered: