Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
niksaveliev committed Oct 14, 2024
1 parent 8de431e commit 6d70f34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/services/datastreams/datastreams_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1665,8 +1665,8 @@ namespace NKikimr::NDataStreams::V1 {
record->set_partition_key(r.GetPartitionKey());
record->set_sequence_number(std::to_string(r.GetOffset()).c_str());

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

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

0 comments on commit 6d70f34

Please sign in to comment.