Add topics in Google Cloud Platform (GCP) using IoT Cloud Tester
Topics are created in Google Cloud and are used by publishers to send messages. Subscriber entities can subscribe to the topic and get the messages when they are published.
IoT Cloud Tester application provides an easy interface to create topic in Google Cloud platform.
To create a topic in Google Cloud project,
- Select the project.
- In the 'Topics' tab, press 'Add Topic'.
- Topic ID is automatically generated but that can be changed.
In this example, the topic is created under the selected project.
projects/iot-cloud-tutorial/topics/topic_93910
[name: "projects/iot-cloud-tutorial/topics/topic_93910
"]
The added project can be viewed in the Google Cloud console.
https://console.cloud.google.com/cloudpubsub/topic/list?project=iot-cloud-tutorial