Bucket/object create/update/delete notification
Hi, I would like to get info if the bucket or object got updated. I can get this info with a changed etag of an object, but not I cannot get etag from bucket, so I am looking at https://docs.ceph.com/en/latest/radosgw/notifications/ How do I create a topic and where do I send request with parameters? Anyone have an example (cli, python, ...) with topic creation where I can get notification to a http endpoint when an object got created in a bucket? Kind regards, Rok
Hi Rok, Please have a look here: https://github.com/ceph/ceph/tree/main/examples/rgw/boto3 It has both CLI and python examples. Let me know if you need more information. Yuval On Tue, Nov 28, 2023 at 10:21 PM Rok Jaklič <rjaklic@gmail.com> wrote:
Hi,
I would like to get info if the bucket or object got updated.
I can get this info with a changed etag of an object, but not I cannot get etag from bucket, so I am looking at https://docs.ceph.com/en/latest/radosgw/notifications/
How do I create a topic and where do I send request with parameters?
Anyone have an example (cli, python, ...) with topic creation where I can get notification to a http endpoint when an object got created in a bucket?
Kind regards, Rok _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Thx. Got it done with these two python scripts based on examples from your provided link. Rok On Wed, Nov 29, 2023 at 11:13 AM Yuval Lifshitz <ylifshit@redhat.com> wrote:
Hi Rok, Please have a look here: https://github.com/ceph/ceph/tree/main/examples/rgw/boto3 It has both CLI and python examples. Let me know if you need more information.
Yuval
On Tue, Nov 28, 2023 at 10:21 PM Rok Jaklič <rjaklic@gmail.com> wrote:
Hi,
I would like to get info if the bucket or object got updated.
I can get this info with a changed etag of an object, but not I cannot get etag from bucket, so I am looking at https://docs.ceph.com/en/latest/radosgw/notifications/
How do I create a topic and where do I send request with parameters?
Anyone have an example (cli, python, ...) with topic creation where I can get notification to a http endpoint when an object got created in a bucket?
Kind regards, Rok _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (2)
-
Rok Jaklič
-
Yuval Lifshitz