Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex IoT Core
  • Getting started
  • Step-by-step instructions
  • Concepts
  • Practical guidelines
  • Access management
  • Pricing policy
  • Devices API reference
  • Broker API reference
    • Authentication in the API
    • gRPC
      • Overview
      • BrokerDataService
      • BrokerService
      • OperationService
    • REST
  • Questions and answers
  1. Broker API reference
  2. gRPC
  3. BrokerDataService

IoT Core Broker Service, gRPC: BrokerDataService

Written by
Yandex Cloud
  • Calls BrokerDataService
  • Publish
    • PublishBrokerDataRequest
    • PublishBrokerDataResponse

A set of methods to work with IoT Core messages on behalf of broker

Call Description
Publish Publishes message on behalf of specified broker

Calls BrokerDataService

Publish

Publishes message on behalf of specified broker

rpc Publish (PublishBrokerDataRequest) returns (PublishBrokerDataResponse)

PublishBrokerDataRequest

Field Description
broker_id string
Required. ID of broker publishing message The maximum string length in characters is 50.
topic string
Required. Topic where message should be published The maximum string length in characters is 1024.
data bytes
Content of the message The maximum string length in characters is 262144.

PublishBrokerDataResponse

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG
In this article:
  • Calls BrokerDataService
  • Publish
  • PublishBrokerDataRequest
  • PublishBrokerDataResponse