GitHub user BryanEdwardsTech7 created a discussion: Socket max size for 
jackson-core defaults to 20mb, but not configurable for larger sizes?

I am attempting to push messages over the socket or http producer APIs, but the 
message size is larger than the 20000000 byte default. I have set the 
broker.conf maxMessageSize, but this does not seem to affect the sockets max 
bytes. 

Is there a configuration for larger API based msg publishes?

Error:String value length (20003452) exceeds the maximum allowed (20000000, 
from 'StreamReadConstraints.getMaxStringLength()') (through reference chain: 
org.apache.pulsar.websocket.data.ProducerMessages["messages"]->java.util.ArrayList[0]->org.apache.pulsar.websocket.data.ProducerMessage["payload"])'

Thanks!

GitHub link: https://github.com/apache/pulsar/discussions/25003

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to