Skip to content

Commit 6d70f34

Browse files
committed
fix
1 parent 8de431e commit 6d70f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/services/datastreams/datastreams_proxy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,8 +1665,8 @@ namespace NKikimr::NDataStreams::V1 {
16651665
record->set_partition_key(r.GetPartitionKey());
16661666
record->set_sequence_number(std::to_string(r.GetOffset()).c_str());
16671667

1668-
if (!proto.has_codec()) {
1669-
proto.set_codec(NPersQueueCommon::RAW);
1668+
if (proto.GetCodec() > 0) {
1669+
record->set_codec(proto.GetCodec() + 1);
16701670
}
16711671

16721672
record->set_codec(proto.GetCodec() + 1);

0 commit comments

Comments
 (0)