Skip to content

Events & streaming

Google Pub/Sub integration for topic, subscription and backlog questions

Google Cloud Pub/Sub is a managed messaging service for asynchronous event delivery. Publishers send messages to topics, and subscriptions deliver them to subscribers by pull, push, or directly into BigQuery or Cloud Storage. Platform and data teams use it for event-driven services, log routing, change data capture and streaming into Dataflow and BigQuery.

Google Pub/Sub

Available now: Nexatron answers Google Pub/Sub questions with user-level access that inherits your existing Google Pub/Sub permissions.

Updated

Can Claude, ChatGPT or Copilot access Google Pub/Sub data?

Yes. To connect Claude, ChatGPT or Copilot to Google Pub/Sub, add Nexatron from Claude’s connector directory, or by its MCP server URL in ChatGPT and Copilot. Then connect it in Nexatron. Users sign in with their own Google Pub/Sub account (or your SSO), and Nexatron inherits their existing permissions.

What Google Pub/Sub data a question reads

Topics
Named channels with message retention, schema settings, encryption keys and labels such as team or environment.
Subscriptions
Pull, push, BigQuery, Cloud Storage and Bigtable (Preview) subscriptions with ack deadline, retention, filter, ordering and exactly-once settings.
Dead-letter topics and retry policy
Where messages go after the maximum delivery attempts, and the backoff between retries.
Schemas
Avro or Protocol Buffer schemas and revisions attached to topics.
Cloud Monitoring metrics
subscription/num_undelivered_messages, subscription/oldest_unacked_message_age, topic/send_request_count and push request latencies.
Snapshots
Saved acknowledgement state for a subscription, used to replay or roll back delivery.

Google Pub/Sub questions people ask

  • Which subscriptions have an oldest unacked message older than ten minutes right now?
  • How large was the undelivered backlog on the orders-events subscription at each hour yesterday?
  • Which dead-letter topics received messages this week, and from which subscriptions?
  • How many messages per second did the payments topic receive at peak compared with last month?
  • Which BigQuery subscriptions reported write errors in the last 24 hours?
  • Which topics have no subscriptions attached?

Who asks Google Pub/Sub questions

Platform engineering
Backlog, delivery latency and dead-letter traffic per subscription and project, to see which consumer is behind.
Data engineering
Whether streaming loads into BigQuery and Dataflow pipelines are keeping up with publishing rates.

How Nexatron connects to Google Pub/Sub

API and sign-in
The Pub/Sub API (v1) for topics, subscriptions, schemas and snapshots, and the Cloud Monitoring API for metrics, authenticated with each user’s Google OAuth 2.0 credentials and governed by IAM roles such as roles/pubsub.viewer and roles/monitoring.viewer.
User-level access
Users sign in with their own Google Pub/Sub account (or your SSO), and Nexatron inherits their existing permissions. Users only see data they are already authorized to see.
Read-only
Questions only read Google Pub/Sub; asking a question never changes Google Pub/Sub data.
Setup
An administrator enables Google Pub/Sub in Nexatron. Users link their own Google Pub/Sub account, or sign in through your SSO, the first time they ask. Queries run in Google Pub/Sub, with no warehouse to load.

Google Pub/Sub in Claude’s connector directory

Nexatron is listed in Claude’s MCP connector directory, so a Claude user can add it without a custom server URL. Its hosted MCP server answers Google Pub/Sub questions for Claude, ChatGPT and Microsoft Copilot with user-level access, and the same governed answer as the Nexatron app. It is Nexatron’s own server, not one published by the vendor.

  1. Connect Google Pub/Sub to your Nexatron workspace.
  2. In Claude, add Nexatron from Claude’s connector directory. In ChatGPT or Copilot, add a custom MCP connector with Nexatron’s server URL.
  3. Sign in with your own Nexatron identity (OAuth 2.1), then ask your Google Pub/Sub questions.

Server URL for a custom connector: https://api.nexatron.io/api/v1/mcp

Google Pub/Sub questions and answers

How do I monitor Pub/Sub backlog?
Watch subscription/num_undelivered_messages for backlog size and subscription/oldest_unacked_message_age for how stale it is. A rising oldest age with a steady backlog often means a few messages keep failing, which a dead-letter topic helps isolate.
What is a BigQuery subscription in Pub/Sub?
A subscription type that writes messages straight into a BigQuery table, using the topic schema or a single data column, without a Dataflow job. Failed writes can go to a dead-letter topic.
Pub/Sub vs Kafka?
Pub/Sub is serverless with per-message acknowledgement and no partitions to manage, while Kafka exposes partitions and consumer offsets that you size and operate, or buy from Confluent. Google also offers Managed Service for Apache Kafka for teams that need the Kafka protocol.
Does Nexatron read message contents from Pub/Sub?
No. It answers from topic and subscription configuration and Cloud Monitoring metrics. Message data that lands in BigQuery is answered from BigQuery instead.