You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Anatoly Fayngelerin (JIRA)" <ji...@apache.org> on 2014/12/09 16:29:12 UTC
[jira] [Created] (KAFKA-1813) Build fails for scala 2.9.2
Anatoly Fayngelerin created KAFKA-1813:
------------------------------------------
Summary: Build fails for scala 2.9.2
Key: KAFKA-1813
URL: https://issues.apache.org/jira/browse/KAFKA-1813
Project: Kafka
Issue Type: Bug
Components: build
Reporter: Anatoly Fayngelerin
Currently, in trunk, the 2.9.2 build fails with the following error:
MirrorMaker.scala:507 overloaded method value commitOffsets with alternatives:
(isAutoCommit: Boolean,topicPartitionOffsets: scala.collection.immutable.Map[kafka.common.TopicAndPartition,kafka.common.OffsetAndMetadata])Unit <and>
(isAutoCommit: Boolean)Unit <and>
=> Unit
cannot be applied to (isAutoCommit: Boolean, scala.collection.immutable.Map[kafka.common.TopicAndPartition,kafka.common.OffsetAndMetadata])
connector.commitOffsets(isAutoCommit = false, offsetsToCommit)
It looks like the 2.9.2 compiler cannot resolve an overloaded method when mixing named and ordered parameters.
I ran into this when I cloned the repo and ran ./gradlew test.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)