Skip to content

Commit e80f5d5

Browse files
authored
Merge b68034b into 9764825
2 parents 9764825 + b68034b commit e80f5d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/kafka_proxy/actors/kafka_produce_actor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#include <ydb/core/persqueue/utils.h>
77
#include <ydb/core/protos/grpc_pq_old.pb.h>
8+
#include <ydb/public/api/protos/draft/persqueue_common.pb.h>
89

910
namespace NKafka {
1011

@@ -262,6 +263,7 @@ THolder<TEvPartitionWriter::TEvWriteRequest> Convert(const TProduceRequestData::
262263

263264
for (const auto& record : batch->Records) {
264265
NKikimrPQClient::TDataChunk proto;
266+
proto.set_codec(NPersQueueCommon::RAW);
265267
for(auto& h : record.Headers) {
266268
auto res = proto.AddMessageMeta();
267269
if (h.Key) {

0 commit comments

Comments
 (0)