mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-01 13:48:56 +08:00

* NOISSUE - Fix default nats publisher subject Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use created timestamp inn transformer Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use created timestamp in transformer Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * rename topic -> subject for nats Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * revert Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * revert Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix subscriber topic Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix timestamp Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use int64 nanoseconds Created timestamp Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Typo Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add comment to created protobuf field Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Rm gogo from scripts/ci.sh Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix comment Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Return publisher in NewPublisher Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
16 lines
368 B
Protocol Buffer
16 lines
368 B
Protocol Buffer
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
syntax = "proto3";
|
|
package messaging;
|
|
|
|
// 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;
|
|
int64 created = 6; // Unix timestamp in nanoseconds
|
|
}
|