Skip to content

Commit b15b589

Browse files
authored
Merge 7b923ca into 36c9fd5
2 parents 36c9fd5 + 7b923ca commit b15b589

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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) {

ydb/core/kafka_proxy/actors/kafka_produce_actor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using namespace NKikimrClient;
1919
// Each request can contain data for writing to several topics, and in each topic to several partitions.
2020
// When a request to write to an unknown topic arrives, the actor changes the state to Init until it receives
2121
// information about all the topics needed to process the request.
22-
//
22+
//
2323
// Requests are processed in parallel, but it is guaranteed that the recording order will be preserved.
2424
// The order of responses to requests is also guaranteed.
2525
//

0 commit comments

Comments
 (0)