kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatoly Fayngelerin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-1813) Build fails for scala 2.9.2
Date Tue, 09 Dec 2014 15:29:12 GMT
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
  (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

View raw message