You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.apache.pulsar.client.api.PulsarClientException$NotAllowedException: The size of the message which is produced by producer test-0-2 to the topic persistent://my-tenant/my-namespace/test-set-backlog-quota-partition-0 is not allowed
Expected behavior
Message should produce success.
Screenshots
NA
Desktop (please complete the following information):
OS: macOS
Additional context
NA
The text was updated successfully, but these errors were encountered:
I think we can add new field "payload size" in CommandSend API.
And make topic policy only checks the payload size.
What do you think? @codelipenghui@315157973@eolivelli
Jason918
changed the title
[Bug] Inconsistent maxMessageSize meaning between broker config and topicPolicy config.
[Bug] Producer fails to send message size equals to maxMessageSize in topic policy setting.
Nov 25, 2021
Jason918
added a commit
to Jason918/pulsar
that referenced
this issue
Dec 6, 2021
Describe the bug
See the following unit test code to reproduce this issue.
The root cause of this is that in topic policy setting, it limits the size of message header and payload.
See
pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
Line 413 in 6b8ebbd
To Reproduce
Steps to reproduce the behavior:
Add this unit test code in org.apache.pulsar.broker.admin.TopicPoliciesTest
Got the following error:
Expected behavior
Message should produce success.
Screenshots
NA
Desktop (please complete the following information):
Additional context
NA
The text was updated successfully, but these errors were encountered: