Protobuf Encoder
Encodes Arrow RecordBatches to Protocol Buffers binary format.
Configuration
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
codec | string | yes | — | Must be "protobuf" |
descriptor_path | string | yes | — | Path to protobuf descriptor file |
message_name | string | yes | — | Fully qualified protobuf message name |
Example
sinks:
my_grpc:
type: grpc
endpoint: http://api.example.com
encoding:
codec: protobuf
descriptor_path: /etc/kinetic/proto/descriptors.bin
message_name: "myapp.Event"When to Use
- gRPC services - Native protobuf support
- High-performance APIs - Compact binary format
- Cross-language systems - Strongly typed schemas