Skip to content

Comments

[Tavern] Create Unique Pubsub Subscriptions#816

Merged
KCarretto merged 6 commits intomainfrom
fix-gcppubsub
Jan 7, 2025
Merged

[Tavern] Create Unique Pubsub Subscriptions#816
KCarretto merged 6 commits intomainfrom
fix-gcppubsub

Conversation

@KCarretto
Copy link
Collaborator

…tavern instance

What type of PR is this?

/kind bug

What this PR does / why we need it:

Updates Tavern to connect and create a new unique pubsub subscription for each instance of Tavern. The subscriptions are currently configured to expire after 1 day of inactivity. This is necessary because GCP Pubsub load-balances messages across all subscribers that share the same subscription, meaning for reverse shells when multiple instances of tavern are running they each only get a fragment of the messages (and therefore the shell works very poorly with more than one running instance). Read more here: https://cloud.google.com/pubsub/docs/pubsub-basics#choose_a_publish_and_subscribe_pattern

Cictrone
Cictrone previously approved these changes Jan 6, 2025
@KCarretto KCarretto merged commit 6416875 into main Jan 7, 2025
6 checks passed
@KCarretto KCarretto deleted the fix-gcppubsub branch January 7, 2025 02:07
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