Skip to content

Dispatch rate limiting overshoots the message rate with batched messages #26959

Closed

Description

@merlimat

AbstractBaseDispatcher.applyDispatchRateLimitsToReadLimits caps the number of entries to read using the available message-rate permits. With batching, each entry holds many messages, so a single read can dispatch several times the configured msg/s before the limiter catches up.

Earlier attempt: #18553.

Activity

  1. added
    type/bug
    on Oct 17, 2026
  2. abhiramaab commented on Oct 20, 2026

    @abhiramaab
    Contributor

    Hi @merlimat, I'm working on a fix for this to scale the entry read limits using average messages per entry when batching is enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions