2 Home
gitea_admin edited this page 2026-03-11 14:36:37 +00:00

Google Pubsub Source

Consume messages from Google Cloud Pub/Sub.

If you specify the serviceAccountKey property, you must base64 encode it before you pass it as a parameter.

Metadata

Property Value
Type source
Group Google Pubsub
Namespace GCP
Support Level Stable
Provider Apache Software Foundation

Properties

Name Type Required Default Description
projectId string The Google Cloud Pub/Sub Project ID.
subscriptionName string The subscription name.
serviceAccountKey binary The service account key to use as credentials for the Pub/Sub publisher/subscriber. You must encode this value in base64.
synchronousPull boolean false Specifies to synchronously pull batches of messages.
maxMessagesPerPoll integer 1 The maximum number of messages to receive from the server in a single API call.
concurrentConsumers integer 1 The number of parallel streams to consume from the subscription.

Dependencies

  • camel:kamelet
  • camel:google-pubsub
  • camel:jackson