22 lines
369 B
Protocol Buffer
22 lines
369 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
package nodata;
|
|
|
|
service NoData {
|
|
rpc PublishEvent(PublishEventRequest) returns (PublishEventResponse) {}
|
|
}
|
|
|
|
message PublishEventRequest {
|
|
string topic = 1;
|
|
google.protobuf.Timestamp published = 2;
|
|
string key = 3;
|
|
bytes value = 4;
|
|
optional string id = 5;
|
|
}
|
|
|
|
message PublishEventResponse {
|
|
|
|
}
|