Skip to main content

What this is

Pub/Sub Stream is a source: it brings data into Zeotap CDP. You nominate a Google Pub/Sub topic that your systems already publish to, Zeotap CDP subscribes to that topic, and each message is ingested as soon as it is published — rather than on a file drop or a scheduled export. The source sits in the Message Queue category, alongside Pub/Sub Batch. If instead you want to send data out of Zeotap CDP onto a Pub/Sub topic from a journey, that is the Google Pub/Sub destination — a separate integration with its own setup.

How Pub/Sub messaging works

In publish/subscribe messaging, a publisher does not address a specific receiver. Publishers send messages to a topic, and every subscriber registered on that topic receives them. This decouples the sending and receiving systems, so each runs at its own pace and new subscribers can be added without changing the publisher. For this source, your systems are the publishers and Zeotap CDP is the subscriber.

What it ingests

  • Messages as they are published — suited to data your platforms emit continuously, such as activity or usage events you want available for unification and audience building without waiting for a scheduled export.
  • Customer Data (CE) or Non-Customer Entity (NCE) data — you choose the data entity when you create the source.
  • JSON payloads — messages carry event, user, and page details as JSON. The IMPLEMENTATION DETAILS tab on the created source shows the format Zeotap CDP expects.

Stream or batch?

Both Pub/Sub sources read from Google Pub/Sub topics, but they differ in send cadence and in the payload shape they expect. The two sources expect different JSON shapes — Pub/Sub Stream takes nested event/user/page objects, Pub/Sub Batch takes flattened keys in minified form — so check the data format on the create page for the source you choose. Choose Pub/Sub Stream when your systems publish messages continuously and you want each one ingested as it is published. Choose Pub/Sub Batch when you send many messages together in a single request instead of one at a time.
We recommend using different Topic IDs for your Pub/Sub Stream and Pub/Sub Batch sources. If both sources point at the same Topic ID, you receive the same data in both.

Next steps

Last modified on November 11, 2026