-
Notifications
You must be signed in to change notification settings - Fork 599
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
Add generic EventSource and EventSink #8185
Comments
I have created a feature track for this: https://docs.google.com/document/d/1UOEbi2kBgH65QaYa4fhvZRxlkUWrqKrptbe9PFDw1bc/edit |
Will this be a step in for many of the Triggermesh event sources? I just started using Knative and got excited when I saw those event sources from Triggermesh in the knative docs. This excitement wore off when I found out that Triggermesh disbanded last year and there's no one maintaining the project anymore. |
@tylerbowers hey Tyler! Thanks for reaching out. The idea of of this is to add two new "generic" types:
Behind the secenes we are leveraging Apache Camel Kamelets for the connectivity. See here for the currently available supported "sources" or "sinks" -> https://github.com/knative-extensions/eventing-integrations |
@matzew Really cool stuff, thanks for the clarification. |
As pointed by @pierDipi I am requesting to add a source that can do something similar to what is mentioned in triggermesh/triggermesh#1544 (comment) |
@mukundjalan we have already (not yet released, but on main) some support for AWS Source:
here is a PR that drafts an initial doc: And some preview rendering NOTE: there will be api changes. next knative release is January - but the nightly builds have this already. |
@tikr7 take a look at the comment above. That shows the "simple SQS" source for Knative Eventing. |
https://knative.dev/blog/articles/consuming_sqs_data_with_integrationsource/ is an early preview blog post, using SQS |
@matzew this looks very promising! I can't wait for it :) |
@mukundjalan with the In AWS console, for your eventbus / EventBridge, create a Rule, and use an SQS queue as target. From this SQS queue you can receive the CloudEvent notifications in Knative |
Knative Eventing offers only a small number of event sources, such as
ApiServerSource
orPingSource
. Besides that it provides aContainerSource
to allow users to run their own integrations, leveraging theSinkBinding
API. The same is true for event sinks with theJobSink
and theKafkaSink
in the eventing-kafka-broker repo.In order to offer a rich set of Event Sources and Event Sinks for Knative Eventing, we would like to add two new generic CRDs:
EventSource
andEventSink
.Initially the new CRDs would leverage a fixed set of Apache Camel Kamelets. Those Kamelets would run as regular deployments and in the case of "sources" those Kamelets would leverage the
SinkBinding
API. Behind the new CRD these Kamelets acting either as true, native "source" or "sink" for Knative.With Kamelets we can provide connectivity for many products and services, including Amazon Web Services, Azure, Google Cloud, or even traditional messaging systems like AMQP 1.0.
Essentially the Event Source/Sink CRDs would act like a shim to propagate configuration to the underlying
Deployment
of the Kamelets being used..There will be two new APIs. At a high-level they would be like:
and for the "sinks"
NEXT: In a dedicated feature track I want to go into details on the API proposal as well as the implementation and requirements for this new proposal.
The text was updated successfully, but these errors were encountered: