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

enables pull subscription #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Julianwustl
Copy link

No description provided.

Copy link
Owner

@aplr aplr left a comment

Choose a reason for hiding this comment

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

My take on this would be: Split up topic and subscription creation. Currently, topic and subscription are created together. If you only want to use lacuna to create topics, this should be split up:

  • gather all (topic: String, entrypoint?: String) combinations
  • call new createTopicAndSubscription
    • create topic
    • if entrypoint != null, create push subscription

Copy link
Owner

Choose a reason for hiding this comment

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

I think if no endpoint is specified, no subscription should be created at all.

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