2024-08-10 00:54:10 +02:00
|
|
|
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;
|
2024-08-12 00:09:37 +02:00
|
|
|
optional string id = 5;
|
2024-08-10 00:54:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
message PublishEventResponse {
|
|
|
|
|
|
|
|
}
|