[
https://issues.apache.org/jira/browse/SAMZA-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170190#comment-14170190
]
Jakob Homan commented on SAMZA-163:
-----------------------------------
Looks like Scala 2.9 came out in 2011, quite a while ago. Any reason not to
pull support for it now? I'll open a discussion on the mailing list...
> Remove mutable.ConcurrentMap when we stop supporting 2.9
> --------------------------------------------------------
>
> Key: SAMZA-163
> URL: https://issues.apache.org/jira/browse/SAMZA-163
> Project: Samza
> Issue Type: Improvement
> Components: kafka
> Reporter: Jakob Homan
>
> ./gradlew check throws up multiple warnings from the nextOffsets map in
> BrokerProxy:
> {noformat}
> .../BrokerProxy.scala:68: warning: trait ConcurrentMap in package mutable is
> deprecated: Use `scala.collection.concurrent.Map` instead.
> val nextOffsets:mutable.ConcurrentMap[TopicAndPartition, Long] = new
> ConcurrentHashMap[TopicAndPartition, Long]()
> {noformat}
> We can't do the suggested fix since scala.collect.concurrent.Map doesn't
> exist in 2.9, but once we're done with 2.9 we should take a look at this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)