[ 
https://issues.apache.org/jira/browse/SAMZA-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974507#comment-15974507
 ] 

ASF GitHub Bot commented on SAMZA-1136:
---------------------------------------

Github user logarithm closed the pull request at:

    https://github.com/apache/samza/pull/83


> 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)

Reply via email to