IoT Core Broker Service, gRPC: BrokerDataService.Publish
Written by
Updated at October 17, 2024
Publishes message on behalf of specified broker
gRPC request
rpc Publish (PublishBrokerDataRequest) returns (PublishBrokerDataResponse)
PublishBrokerDataRequest
{
"brokerId": "string",
"topic": "string",
"data": "bytes"
}
Field |
Description |
brokerId |
string Required field. ID of broker publishing message |
topic |
string Required field. Topic where message should be published |
data |
bytes Content of the message |
PublishBrokerDataResponse
{}
Field |
Description |
Empty |