-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/googlecloudpubsub] allow endpoint and insecure config #10845
[receiver/googlecloudpubsub] allow endpoint and insecure config #10845
Conversation
|
@@ -20,6 +20,10 @@ The following configuration options are supported: | |||
a fallback, when no `content-type` attribute is present. | |||
* `compression` (Optional): The compression that will be used on received data from the subscription. When set it can | |||
only be `gzip`. This will only be used as a fallback, when no `content-encoding` attribute is present. | |||
* `endpoint` (Optional): Override the default Pubsub Endpoint, useful when connecting to the PubSub emulator instance | |||
or switching between [global and regional service endpoints](https://cloud.google.com/pubsub/docs/reference/service_apis_overview#service_endpoints). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
never used the regional endpoints, so I tried the out of curiosity. Verified the branch locally and worked (as well with a regional endpoint)
@djaglowski can you kick off the tests? thanks. |
fixed tests. @djaglowski can you kick off again? thanks. |
This looks good to me, but would appreciate a final review from @alexvanboxel before I merge it. |
already did and tested. Tests give a changelog error though |
@k7k0, please add a changelog entry. |
…y-collector-contrib into googlecloudpubsubreceiver-emulator
all green, now only need approval from allowed approvers |
…-telemetry#10845) * googlecloudpubsub receiver: allow endpoint and insecure config * googlecloudpubsub receiver: fix tests and doc * googlecloudpubsub receiver: revert doc change * googlecloudpubsub receiver: update changelog
Description:
Fixes #10844 allowing to connect the receiver to a local PubSub emulator instance or switching between global and regional service endpoints
Link to tracking Issue: #10844
Testing: tested locally by running the emulator and configuring the receiver with
Documentation: Added config doc for both params