Pub/Sub
Kubemq gcp-pubsub source connector allows services using kubemq server to access google pubsub server.

Prerequisites

The following required to run the gcp-pubsub source connector:
  • kubemq cluster
  • gcp-pubsub set up
  • kubemq-source deployment

Configuration

pubsub source connector configuration properties:
Properties Key
Required
Description
Example
project_id
yes
gcp project_id
"googleurl/myproject"
credentials
yes
gcp credentials files
"google json credentials"
subscriber_id
yes
gcp pubsub queue subscriber id
"string"
Example:
1
bindings:
2
- name: pubsub
3
source:
4
kind: gcp.pubsub
5
properties:
6
credentials: |-
7
{
8
}
9
project_id: kubemq-tests-294511
10
subscriber_id: test
11
target:
12
kind: kubemq.events
13
properties:
14
address: localhost:50000
15
auth_token: ""
16
channel: event.gcp.pubsub
17
client_id: pubsub
18
properties: {}
Copied!
Last modified 11mo ago