Closed lspgn closed 4 years ago
Added -proto.fixedlen=true to have protobuf encoded with length before the message (Buffer.EncodeMessage). This is required by Clickhouse.
-proto.fixedlen=true
A table example is the following:
CREATE TABLE flows ( TimeReceived UInt64, SamplingRate UInt64, ... ) ENGINE = Kafka() SETTINGS kafka_broker_list = 'kafka:9092', kafka_topic_list = 'flows', kafka_group_name = 'clickhouse', kafka_format = 'Protobuf', kafka_schema = './flow.proto:FlowMessage';
Added
-proto.fixedlen=true
to have protobuf encoded with length before the message (Buffer.EncodeMessage). This is required by Clickhouse.A table example is the following: