Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCP Pub/Sub Source Connector #1224

Merged
merged 11 commits into from
May 22, 2024
Merged

GCP Pub/Sub Source Connector #1224

merged 11 commits into from
May 22, 2024

Conversation

davidsloan
Copy link
Collaborator

@davidsloan davidsloan commented May 17, 2024

This is the GCP Pub/Sub Source Connector, for copying data from GCP Pub/Sub into Kafka.

This supports the following configuration:

Connector Properties

Name Description Available Values
connect.pubsub.gcp.auth.mode Authentication mode for connecting to GCP. "Credentials", "File", or "Default"
connect.pubsub.gcp.credentials For "auth.mode" credentials: GCP Authentication credentials string.
connect.pubsub.gcp.file For "auth.mode" file: Local file path for file containing GCP authentication credentials.
connect.pubsub.gcp.project.id GCP Project ID.
connect.pubsub.output.mode Output Mode. "Compatibility" (to match output of non-Lenses connector) or "Default".

KCQL Properties

Name Description Default Value
batch.size Maximum size of batches to return per poll request (per PubSub partition). 1 000
cache.ttl Time (millis) to retain unacknowledged messages stubs in the cache before releasing them. 1 hour
queue.max Maximum number of messages to queue in memory (per PubSub partition) before bouncing them with a nack to be redelivered later 10 000

@davidsloan davidsloan force-pushed the feat/gcp-pubsub branch 4 times, most recently from 6b14f2a to 55ee98e Compare May 17, 2024 15:22
@davidsloan davidsloan marked this pull request as ready for review May 17, 2024 15:31
@davidsloan davidsloan force-pushed the feat/gcp-pubsub branch 2 times, most recently from 9f68465 to 839f5bd Compare May 20, 2024 08:03
Copy link
Contributor

@GoMati-MU GoMati-MU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some remarks from me. I really like most of the logic around PubSub, but other classes (e.g. util ones) have more questionable approach.

@davidsloan davidsloan enabled auto-merge (squash) May 22, 2024 08:41
@davidsloan davidsloan merged commit 2c565bd into master May 22, 2024
164 checks passed
@davidsloan davidsloan deleted the feat/gcp-pubsub branch May 22, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants