Replies: 2 comments 4 replies
-
Link the code behind this limitation check: |
Beta Was this translation helpful? Give feedback.
4 replies
-
I've start a discuss thread on mail list, feel free to take a look, thanks. @lhotari https://lists.apache.org/thread/ojh23zs11tktgprx7z69ncxog8p8jtxh |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For messages in the backlog (messages that the consumer has not yet acknowledged), I aim to impose a restriction based solely on size (mainly due to considerations regarding the use of disk space), without any time-based limitations, as I cannot assume how users will employ Pulsar.
For messages in retention (messages that the consumer has already acknowledged), I intend to retain them for a certain period for traceback purposes but not indefinitely. Additionally, a safety size limit is necessary to prevent the occupation of disk space. However, when I set it up this way, I encounter the error code: 412 reason: Retention Quota must exceed the configured backlog quota for the namespace.
pulsarctl namespaces set-retention --size 2G --time 7d public/default [✖] code: 412 reason: Retention Quota must exceed configured backlog quota for namespace.
After code blame, the size-based check has been part of Pulsar since its initial commit, whereas the time-based check was introduced in #10401.
My question is the reason behind this limitation, it seem unreasonable for my situation. I'm looking forward to a solution to this and thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions