Re: kafka-streams project compiles using maven but failed using sbt

2016-08-30 Thread Tommy Q
Got it. Thanks Michael. On Tue, Aug 30, 2016 at 2:31 AM, Michael Noll wrote: > Most probably because, in your build.sbt, you didn't enable the > -Xexperimental compiler flag for Scala. This is required when using Scala > 2.11 (as you do) to enable SAM for Java 8 lambda support. Because this >

Re: kafka-streams project compiles using maven but failed using sbt

2016-08-29 Thread Michael Noll
Most probably because, in your build.sbt, you didn't enable the -Xexperimental compiler flag for Scala. This is required when using Scala 2.11 (as you do) to enable SAM for Java 8 lambda support. Because this compiler flag is not set your build fails because it can translate `_.toUpperCase()` int

kafka-streams project compiles using maven but failed using sbt

2016-08-27 Thread Tommy Go
Hi I am playing with kafka-streams using Scala, but found some strange issue, the following project compiles using mvn but failed using sbt: https://github.com/deeplambda/kstream-debug [error] /Users/tommy/tmp/kstream-debug/src/main/scala/kafka/streams/WordCountDemo.scala:49: missing parameter