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
Fix buffer overflow for non-batched send when the message metadata size exceeds 64KB (#443)
See apache/pulsar-client-python#223
### Motivation
Currently a shared buffer is used to store serialized message metadata
for each send request. However, its capacity is only 64KB, when the metadata
size exceeds 64KB, buffer overflow could happen.
### Modifications
When the metadata size is too large, allocate a new buffer instead of
using the shared buffer. Add `testLargeProperties` to cover it.
(cherry picked from commit 8f269e8)
0 commit comments