You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2017/03/19 07:18:42 UTC
[jira] [Assigned] (SAMZA-1136) If latest offset <= 0 then
SystemStreamMetadata is incorrect
[ https://issues.apache.org/jira/browse/SAMZA-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yi Pan (Data Infrastructure) reassigned SAMZA-1136:
---------------------------------------------------
Assignee: Maksim Logvinenko
> If latest offset <= 0 then SystemStreamMetadata is incorrect
> ------------------------------------------------------------
>
> Key: SAMZA-1136
> URL: https://issues.apache.org/jira/browse/SAMZA-1136
> Project: Samza
> Issue Type: Bug
> Reporter: Maksim Logvinenko
> Assignee: Maksim Logvinenko
>
> Debug log says "Setting oldest offset to 0 to consume from beginning", but actually current code just adds element to immutable map but do nothing with the result of addition.
> {code}
> oldestOffsets.get(topicAndPartition) match {
> case Some(s) =>
> oldestOffsets.updated(topicAndPartition, "0")
> case None =>
> oldestOffsets.put(topicAndPartition, "0")
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)