# Pub/Sub documentation  |  Google Cloud Documentation
# Source: https://docs.cloud.google.com/pubsub/docs
# Path: /pubsub/docs

  * [ Home ](https://docs.cloud.google.com/)
  * [ Documentation ](https://docs.cloud.google.com/docs)
  * [ Data analytics ](https://docs.cloud.google.com/docs/data)
  * [ Pub/Sub ](https://docs.cloud.google.com/pubsub/docs)



# Pub/Sub documentation

[Read product documentation](https://docs.cloud.google.com/pubsub/docs/overview)

Pub/Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications. 

[Go to the Pub/Sub product page for more.](https://cloud.google.com/pubsub)

[Get started for free](https://console.cloud.google.com/freetrial)

#### Start your proof of concept with $300 in free credit

  * Develop with our latest Generative AI models and tools. 
  * Get free usage of 20+ popular products, including Compute Engine and AI APIs. 
  * No automatic charges, no commitment. 



[ View free product offers ](/free/docs/free-cloud-features#free-tier)

#### Keep exploring with 20+ always-free products.

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more. 

##  Documentation resources 

Find quickstarts and guides, review key references, and get help with common issues. 

follow_the_signs 

### Get Started with Pub/Sub

  * [ What is Pub/Sub ](/pubsub/docs/overview)

  * [ Overview of the Pub/Sub service ](/pubsub/docs/pubsub-basics)

  * [ Choose Pub/Sub or Google Tasks ](/pubsub/docs/choosing-pubsub-or-cloud-tasks)

  * [ Publish and subscribe with client libraries ](/pubsub/docs/publish-receive-messages-client-library)

  * [ Publish and subscribe with gcloud CLI ](/pubsub/docs/publish-receive-messages-gcloud)

  * [ Publish and subscribe with the console ](/pubsub/docs/publish-receive-messages-console)

  * [ Publish and subscribe with Pub/Sub APIs ](/pubsub/docs/reference/service_apis_overview)




format_list_numbered 

### Use Pub/Sub

  * [ Authenticate to Pub/Sub ](/pubsub/docs/authentication)

  * [ Access control for Pub/Sub ](/pubsub/docs/access-control)

  * [ Configure message storage policies ](/pubsub/docs/resource-location-restriction)

  * [ Publish message overview ](/pubsub/docs/publish-message-overview)

  * [ Create a topic ](/pubsub/docs/create-topic)

  * [ Publish messages to topics ](/pubsub/docs/publisher)

  * [ Subscription overview ](/pubsub/docs/subscription-overview)

  * [ Choose a subscription type ](/pubsub/docs/subscriber)

  * [ Monitor Pub/Sub ](/pubsub/docs/monitoring)




find_in_page 

### Pub/Sub reference docs

  * [ Architectural overview ](/pubsub/architecture)

  * [ Pub/Sub: Introduction to reliability ](/pubsub/docs/reliability-intro)

  * [ All Pub/Sub CLI ](/sdk/gcloud/reference/pubsub)

  * [ All Pub/Sub code samples ](/pubsub/docs/samples)

  * [ Pub/Sub client libraries ](/pubsub/docs/reference/libraries)

  * [ Pub/Sub APIs overview ](/pubsub/docs/reference/service_apis_overview)

  * [ Pub/Sub pricing ](/pubsub/pricing)

  * [ Questions about billing ](/pubsub/docs/billing-questions)

  * [ Quotas and limits ](/pubsub/quotas)

  * [ General troubleshooting ](/pubsub/docs/troubleshooting)

  * [ Release notes ](/pubsub/docs/release-notes)

  * [ Pub/Sub SLA ](/pubsub/sla)




##  Related videos 

###  Try Pub/Sub for yourself 

Create an account to evaluate how our products perform in real-world scenarios.  
New customers also get $300 in free credits to run, test, and deploy workloads. 

[ Try Pub/Sub free ](https://console.cloud.google.com/freetrial)

Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]