-
Notifications
You must be signed in to change notification settings - Fork 601
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
Decide Sink duck type shape #3973
Comments
/remove-help |
Yep, we need to make up a design doc. |
There should be some way to distinguish between different Sinks that only consume events (Addressable) and those that may return events (Callable)? The sink that has response? And also what content types must be supported by data plane - it is now described in details for sinks, channels and brokers linked from |
I'm not sure a Sink as I think about it can be Callable, we need probably another name (?) to express this concept. Also, adding a |
The CloudEvent spec says:
At some point we made the decision to support both. This makes sense because:
If Sinks support only one of the two modes, then there is no guarantee of interoperability, which is bad. Bottom line: sinks must support both modes. IMO having a I might also misunderstood @slinkydeveloper's comment. "to let the user choose between structured and binary" on the ingress or when sending the event to Kafka itself? I'm guessing you were talking about the latter, right? |
Yeah I think i wrongly explained myself: of course, on the ingress side of the sink, you should support both binary and structured. But downstream (the sink egress) could not have support for both (just think about natss that supports only structured), or even better, it could not even support cloudevents. For example, think about an eventual github sink we may design: when it gets events of type |
In the case of As discussed in the 2020-09-01 Eventing Source meeting, we probably don't need atm any particular |
sounds good to me. |
Sounds good, let's collect users' inputs first. /close |
@pierDipi: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Problem
We need to decide the Sink duck type shape.
Persona:
Which persona is this feature for?
Exit Criteria
Sink duck type shape and related documentation.
Additional context (optional)
/help
/area api
/proposal 0.18
cc @knative/eventing-wg-leads @knative/channel-wg-leads @knative/source-wg-leads
The text was updated successfully, but these errors were encountered: