You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/12/15 17:48:13 UTC
[jira] [Commented] (SAMZA-163) Remove mutable.ConcurrentMap when we
stop supporting 2.9
[ https://issues.apache.org/jira/browse/SAMZA-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246820#comment-14246820 ]
Chris Riccomini commented on SAMZA-163:
---------------------------------------
+1
> 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
> Affects Versions: 0.8.0
> Reporter: Jakob Homan
> Assignee: Jakob Homan
> Fix For: 0.9.0
>
> Attachments: SAMZA-163.patch
>
>
> ./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)