fsouza / fake-gcs-server

Google Cloud Storage emulator & testing library.
https://pkg.go.dev/github.com/fsouza/fake-gcs-server/fakestorage?tab=doc
BSD 2-Clause "Simplified" License
1.03k stars 209 forks source link

Does that support storage events notifications ? #222

Open Ilchuk-Mihail opened 4 years ago

Ilchuk-Mihail commented 4 years ago

Trying to implement pubsub-notifications, storage triggers and receive notifications when new file is stored in bucket.

fdescamps commented 3 years ago

Hi,

Did you succeed to listen storage triggers event (like an upload on a bucket) please ?

Thanks

Ilchuk-Mihail commented 3 years ago

@fdescamps It was not possible there, so I ended up using my custom solution. (lib which stores files in tmp folder and fire pubsub event)

fdescamps commented 3 years ago

Hi,

Thanks for your quick answer. I'm pretty "sad" about this unavailable feature :/ If anyone manages this, I would like to have some tips.

Regards,

Ilchuk-Mihail commented 3 years ago

I see there opened pull request https://github.com/fsouza/fake-gcs-server/pull/370 with this. Hope they will merge it soon.