aboutsummaryrefslogtreecommitdiffstats
path: root/ydb/services/persqueue_v1/grpc_pq_codecs.h
blob: 005aeaa2d86ed12019c0199ab797e6e1f27fb816 (plain) (blame)
1
2
3
4
5
6
7
8
#pragma once
#include <ydb/core/protos/flat_scheme_op.pb.h>
#include <util/generic/fwd.h>

namespace NKikimr::NGRpcProxy {
    // Validates that client can safely write to the topic data compressed with specific codec
    bool ValidateWriteWithCodec(const NKikimrPQ::TPQTabletConfig& pqTabletConfig, const ui32 codecID, TString& error);
}