-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ceph: support bucket notifications? #2303
Comments
We could do something like the event-based s3: https://github.com/apache/camel-kamelets/blob/main/kamelets/aws-s3-event-based-source.kamelet.yaml There, we are consuming events from bucket and react to an upload. It should really be the same for Ceph. Does this answer your question? Thanks |
yes, it is similar concept, but in case of ceph we ae using kafka not sqs. |
The underline component is using AWS SDK S3 Java client, so unless there is a good reason or something useful on S3 too, we won't add more configuration in the component. |
to setup bucket notifications and the queue you would need S3 and SQS APIs. but this limits you to AWS, since there is no open source implementation of SQS. |
The ceph source and sink from kamelet seems to be dealing with objects and not notifications.
We have something like this currently in Knative: https://github.com/knative-extensions/eventing-ceph/blob/main/pkg/adapter/adapter.go#L91
However, with the general move towards
eventing-integrations
and using Kamelets inside, I was wondering if it is an option to add bucket notifications to the kamelet catalog.this can do much more than what the current eventing-ceph code does. e.g. configuring the notifications, and maybe integrate with the ceph-source so that objects will be consumed based on the notifications.
creating a notification based mechanism instead of polling (as the current ceph-source does) is much more efficient.
The text was updated successfully, but these errors were encountered: