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 2015/05/26 20:53:18 UTC

[jira] [Created] (SAMZA-689) When Kafka has topic auto-creation turned on, checkpoint and changelog topics may be created w/ wrong partition numbers

Yi Pan (Data Infrastructure) created SAMZA-689:
--------------------------------------------------

             Summary: When Kafka has topic auto-creation turned on, checkpoint and changelog topics may be created w/ wrong partition numbers
                 Key: SAMZA-689
                 URL: https://issues.apache.org/jira/browse/SAMZA-689
             Project: Samza
          Issue Type: Bug
          Components: container
    Affects Versions: 0.9.1
            Reporter: Yi Pan (Data Infrastructure)
            Assignee: Navina Ramesh
             Fix For: 0.9.1


When Kafka topic auto-creation is turned on in the brokers, a fetch metadata API call will result in topic auto-creation w/ default number of partitions.

In Samza code, we should always try to create the checkpoint/changelog topic w/ the expected number of partitions first, then call fetch metadata to avoid topic auto-creation creating the topic w/ un-wanted number of partitions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)