mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-27 13:48:49 +08:00

* MF-1088 - Remove message payload content type Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add default contentFormat Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
17 lines
500 B
Protocol Buffer
17 lines
500 B
Protocol Buffer
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
syntax = "proto3";
|
|
package broker;
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// Message represents a message emitted by the Mainflux adapters layer.
|
|
message Message {
|
|
string channel = 1;
|
|
string subtopic = 2;
|
|
string publisher = 3;
|
|
string protocol = 4;
|
|
bytes payload = 5;
|
|
google.protobuf.Timestamp created = 6;
|
|
}
|