Current section
Files
Jump to
Current section
Files
proto/kpl_agg.proto
// From https://github.com/awslabs/amazon-kinesis-producer/blob/master/aggregation-format.md
syntax = "proto2";
package ExKpl.Proto;
message AggregatedRecord {
repeated string partition_key_table = 1;
repeated string explicit_hash_key_table = 2;
repeated Record records = 3;
}
message Tag {
required string key = 1;
optional string value = 2;
}
message Record {
required uint64 partition_key_index = 1;
optional uint64 explicit_hash_key_index = 2;
required bytes data = 3;
repeated Tag tags = 4;
}