mirror of
https://github.com/absmach/magistrala.git
synced 2026-08-07 07:14:46 +00:00
61d0427898
Signed-off-by: dusan <borovcanindusan1@gmail.com>
20 lines
493 B
Protocol Buffer
20 lines
493 B
Protocol Buffer
// Copyright (c) Abstract Machines
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
syntax = "proto3";
|
|
package messaging;
|
|
|
|
option go_package = "./messaging";
|
|
|
|
// Message represents a message emitted by the Magistrala adapters layer.
|
|
message Message {
|
|
string channel = 1;
|
|
string domain = 2;
|
|
string subtopic = 3;
|
|
string publisher = 4;
|
|
string protocol = 5;
|
|
bytes payload = 6;
|
|
int64 created = 7; // Unix timestamp in nanoseconds
|
|
string client_id = 8; // Transport-level client identifier
|
|
}
|