[
https://issues.apache.org/jira/browse/KAFKA-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239567#comment-14239567
]
Joe Stein commented on KAFKA-1813:
----------------------------------
Did you run the new bootstrap we added to the README?
> 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
> Priority: Minor
> Attachments: fix_2_9_2_build.patch
>
>
> 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)