Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-8268

Exclude internal partitions from partition limit enforcement

XMLWordPrintable

    • MK - Sprint 219

      WHAT

      We enforce partition limits through the CreateTopicPolicy and Authorizer plugin, but we should still allow partitions for internal topics to be created even if the limit has been reached. We already discount internal partitions when counting the number of existing partitions, but new internal partition requests could be blocked if the limit has been reached.

      WHY

      Even if a cluster has reached the advertised/enforced limit for customer partitions, we may want to increase the number of internal partitions (either as new internal topics, or by growing existing internal topics) to support the running of the service. If we instead subject our internal partitions to the enforcement, then for some clusters our ability to effectively manage the cluster may be reduced, and we'd have clusters with accidental differences in configuration.

      HOW

      Suggestion:

      NOTES

      1. Once this change has been rolled out, we may need to be a little more careful when increasing the number of internal partitions. It would be good if components that increase the number of internal partitions would first ensure that their actions would not cause the total partition count to be above the absolute cluster limit, so that we don't cause availability issues for customers. I don't know how possible or enforceable this would be though.

              gryan@redhat.com Gerard Ryan
              gryan@redhat.com Gerard Ryan
              Kafka Integrations
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: