mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[GH-ISSUE #2131] Support multiple Pub/Sub notification configurations #255
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lberrymage on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/2131
fake-gcs-servercurrently supports only a single Pub/Sub notification configuration, which is more limited than the multiple notification configurations supported by Google Cloud Storage. This means users cannot model certain system architectures withfake-gcs-server, namely, those which use multiple notification configurations (e.g., upload events in different buckets sending messages to different Pub/Sub topics).Ideally,
fake-gcs-serverwould support specifying multiple notification configurations on the command line so that users can use it for integration testing in these more complex system architectures.A notification configuration has a well-defined model and is always attached to a specific bucket. Since buckets may not exist before
fake-gcs-serverstarts, I think the best solution to handle nonexistent buckets would be to treat the bucket as a filter such that the configuration is treated as if it doesn't exist if the bucket it's attached to doesn't exist.@lberrymage commented on GitHub (Feb 4, 2026):
I've gotten this working in a local branch. I plan on making on a PR once I have the implementation cleaned up a little.