You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/19 11:59:41 UTC
[jira] [Commented] (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: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)