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

Adding a configuration option for topic-subscription validation. #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

matdurand
Copy link

@matdurand matdurand commented Sep 8, 2023

When we are using existing topic/subscription is GCP, we might want to create a Subscriber by only using a subscription name, while passing empty string for the topic. Unfortunately, this is not possible because the existingSubscription validated if the subscription and topic are attached together at the GCP level. Adding this option will disable that check.

Another option would be to skip the check if the topic value is empty string, but that seems a bit more obscure knowledge, hence I went the config option route.

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.

2 participants