ydb-python-sdk icon indicating copy to clipboard operation
ydb-python-sdk copied to clipboard

feature: send already encoded message

Open rekby opened this issue 1 year ago • 0 comments

Feature Request

Describe the Feature Request Now the SDK always compress messages internally. It is bad when we have already encoded messages or want compress messages outside of SDK.

Describe Preferred Solution Add parameter encoded for write method. As value of parameter will codec of message. The SDK will check about possible of use the codec (by topic settings) and save message in internal buffer as is, without internal encoding.

rekby avatar Oct 31 '23 05:10 rekby