From the course: Data Science on Google Cloud Platform: Building Data Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a topic

Create a topic - Google Cloud Tutorial

From the course: Data Science on Google Cloud Platform: Building Data Pipelines

Start my 1-month free trial

Create a topic

- [Kumaran] Pub/Sub provides multiple ways to create a topic. You can use the REST API to create a topic. It is a simple PUT request that has the project name under which the topic needs to be created and the topic itself. Topic names are unique under a project. You can also have the "gcloud" command that can be used to create a topic. "Gcloud" has a pub/sub module that allows for topic creation. You can use any of the programming SDKs to create a topic. Topic creation is a simple call to the function, with a path to the topic. Finally, you can also use the console to create the topic. I will now walk you through the console-based topic creation. In the GCP console navigation, go to "Big Data", "Pub/Sub", "Topics". This opens up the topics administration page. Click on the "Create Topic" button to open a dialog box. Put away the topic name as just "topic" and click "Okay", or "Create". Now the topic is created. Know that you do not have to perform any other administration task like…

Contents