src/main/java/com/google/cloud/run/kafkascaler/ScalingStabilizer.java [255:264]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      int bound;
      int instancesAddedInPeriod =
          getInstanceCountChangeForPeriod(time, policy.periodSeconds(), scaleUpEvents);
      int instancesRemovedInPeriod =
          getInstanceCountChangeForPeriod(time, policy.periodSeconds(), scaleDownEvents);
      int periodStartInstances =
          currentInstanceCount - instancesAddedInPeriod + instancesRemovedInPeriod;

      switch (policy.type()) {
        case PERCENT:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/google/cloud/run/kafkascaler/ScalingStabilizer.java [345:354]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      int bound;
      int instancesAddedInPeriod =
          getInstanceCountChangeForPeriod(time, policy.periodSeconds(), scaleUpEvents);
      int instancesRemovedInPeriod =
          getInstanceCountChangeForPeriod(time, policy.periodSeconds(), scaleDownEvents);
      int periodStartInstances =
          currentInstanceCount - instancesAddedInPeriod + instancesRemovedInPeriod;

      switch (policy.type()) {
        case PERCENT:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



