Skip to content

ProducerBlockedQuotaExceededError: Cannot create producer on topic with backlog quota exceeded #18189

Answered by michaeljmarshall
Icemap asked this question in Q&A
Discussion options

You must be logged in to vote

@Icemap - the proper way to change the backlog is by using the admin http endpoints. You can do this with the pulsar admin cli tool. Here are example commands:

bin/pulsar-admin namespaces set-backlog-quota
The following options are required: [-l | --limit], [-p | --policy]

Set a backlog quota policy for a namespace
Usage: set-backlog-quota [options] tenant/namespace
  Options:
  * -l, --limit
      Size limit (eg: 10M, 16G)
    -lt, --limitTime
      Time limit in second (or minutes, hours, days, weeks eg: 100m, 3h, 2d, 
      5w), non-positive number for disabling time limit.
  * -p, --policy
      Retention policy to enforce when the limit is reached. Valid options 
      are: [produce…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaeljmarshall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants