Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1643

StreamPartitionCountMonitor should only restart/shut down the job if partition count increases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Make StreamPartitionCountMonitor less aggressive and only restart (stateless) or shut down (stateful) the job if partition count increases.

      In some versions of KafkaConsumer, partitionFor(topic) can return a count lower than the configured number of partitions if the broker it asks has recently restarted.

      The only downside of not restarting the job on partition count decreases is that some containers may be idle.

      Attachments

        Issue Links

          Activity

            People

              pmaheshwari Prateek Maheshwari
              pmaheshwari Prateek Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: