syntax = "proto3";
option go_package = "grpc/kafka_grpc";


message GRPC_CANFrame {
  int64 epoch = 1;
  bytes Value = 2;
  int32 ID = 3;
}

message GRPC_CANData {
  int64 epoch_usec = 1;
  int32 dropped = 2;
  int32 filtered = 3;
  repeated GRPC_CANFrame frames = 4;
  string vin = 5;
}

message GRPC_BatchPayload {
  string Handler = 1;
  GRPC_CANData Data = 2;
  string Version  = 3;
}