Skip to content

feat: add Pub/Sub emulator support for source connector - #429

Merged
dsaheb merged 3 commits into
googleapis:mainfrom
AdalbertMemSQL:main
Jun 26, 2026
Merged

feat: add Pub/Sub emulator support for source connector#429
dsaheb merged 3 commits into
googleapis:mainfrom
AdalbertMemSQL:main

Conversation

@AdalbertMemSQL

Copy link
Copy Markdown
Contributor

Summary

Adds Pub/Sub emulator support to the source connector, matching the pattern introduced for the sink in #399 .
When cps.useEmulator=true, the connector resolves the endpoint from PUBSUB_EMULATOR_HOST (fallback: cps.endpoint), uses plaintext gRPC with no credentials, and applies that consistently across startup verification and both pull modes (gRPC + streaming pull).

Fixes #428 ☕️

@AdalbertMemSQL
AdalbertMemSQL requested review from a team as code owners May 27, 2026 07:26
@product-auto-label product-auto-label Bot added the size: m Pull request size is medium. label May 27, 2026
@AdalbertMemSQL

Copy link
Copy Markdown
Contributor Author

Hey @matt-kwong and @dsaheb,
I saw that you reviewed a similar PR here.
Would you mind taking a look at this one when you have a chance? Thanks!

@matt-kwong matt-kwong added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 25, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 25, 2026
@matt-kwong

Copy link
Copy Markdown
Collaborator

Thanks for the contribution! Could you please address the lint failure?

@matt-kwong matt-kwong added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 26, 2026
@yoshi-kokoro yoshi-kokoro removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Jun 26, 2026
@dsaheb
dsaheb self-requested a review June 26, 2026 19:10
@dsaheb
dsaheb merged commit 0e41e2a into googleapis:main Jun 26, 2026
18 of 22 checks passed
@AdalbertMemSQL

Copy link
Copy Markdown
Contributor Author

Hey @dsaheb
Thank you for merging this PR.
Are there any plans to release a new version of the connector soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Pub/Sub emulator in source connector

4 participants