Skip to content
Snippets Groups Projects
  • Doug Szumski's avatar
    e689f951
    Support explicit creation of Monasca Kafka topics · e689f951
    Doug Szumski authored
    With this patch, Monasca no longer relies on automatic topic creation
    in Kafka, and instead pre-creates all topics before bringing up the
    containers. If the topic already exists then it will not be
    changed, therefore existing users are not affected.
    
    This patch allows per topic customisations, such as increasing the
    number of partitions on particular topics and also works around
    a race condition in automatic topic creation where multiple instances
    of the same service could race to create a topic causing some of the
    services to restart and throw an error before resuming normal
    operation.
    
    Change-Id: Ib15c95bb72cf79e9e55945d757b248e06f5f4065
    e689f951
    History
    Support explicit creation of Monasca Kafka topics
    Doug Szumski authored
    With this patch, Monasca no longer relies on automatic topic creation
    in Kafka, and instead pre-creates all topics before bringing up the
    containers. If the topic already exists then it will not be
    changed, therefore existing users are not affected.
    
    This patch allows per topic customisations, such as increasing the
    number of partitions on particular topics and also works around
    a race condition in automatic topic creation where multiple instances
    of the same service could race to create a topic causing some of the
    services to restart and throw an error before resuming normal
    operation.
    
    Change-Id: Ib15c95bb72cf79e9e55945d757b248e06f5f4065