Reputation: 3324
I have a bucket on which I have a notification:
projects/_/buckets/mybucket/notificationConfigs/11
Cloud Pub/Sub topic: projects/myproject/topics/NEW_IMAGE_TOPIC
Filters:
Event Types: OBJECT_FINALIZE
This topic is hooked into a subscription which points to a push endpoint. When I add an image to the bucket nothing happens. To test the topic I send some dummy messages and pull them to a dummy sub. This works OK. At no point do any messages appear in my logs. Should they? Anything else I can check? (I have got this to work in different GCP projects but cannot find any relevant differences).
EDIT: notification created thus:
gsutil notification create -f json -t NEW_IMAGE_TOPIC -e OBJECT_FINALIZE %BUCKET%
Upvotes: 0
Views: 543
Reputation: 3324
Was simply the wrong URL for the topic endpoint. Didn't give any error.
Upvotes: 1