Maksim Logvinenko created SAMZA-1136:
----------------------------------------
Summary: 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
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:scala}
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)