We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently Camel K 1.0.0-M2 has a pre-baked list of allowed endpoints that can be used as start or end of a route.
E.g.
from('knative:channel/xx`)
The Knative trait looks for:
eventing.knative.dev/v1alpha1 -> Channel
messaging.knative.dev/v1alpha1 -> Channel
messaging.knative.dev/v1alpha1 -> InMemoryChannel
messaging.knative.dev/v1alpha1 -> KafkaChannel
A similar thing happen for the knative/endpoint.
knative/endpoint
It would be better if a user can explicitly set the target, like:
from('knative:channel/xx?kind=InMemoryChannel')
or even:
from('knative:channel/xx?kind=InMemoryChannel&apiVersion=messaging.knative.dev/v1')
Same also for endpoint. In the case of channel, the operator creates also a subscription.
endpoint
The resolution of the apiVersion and kind will happen at operator level, but those properties need to be accepted by the runtime.
Wdyt @lburgazzoli ?
The text was updated successfully, but these errors were encountered:
A simple solution would be to make the endpoint to allow unknown options, would that be ok ?
Sorry, something went wrong.
Not sure.. I'm worried about @valdar making typos at next conference and not getting an error back :)
So I will add such info even if we throw them away :)
Support explicit source/target in knative endpoint apache#150
7a56574
lburgazzoli
Successfully merging a pull request may close this issue.
Currently Camel K 1.0.0-M2 has a pre-baked list of allowed endpoints that can be used as start or end of a route.
E.g.
The Knative trait looks for:
eventing.knative.dev/v1alpha1 -> Channel
messaging.knative.dev/v1alpha1 -> Channel
messaging.knative.dev/v1alpha1 -> InMemoryChannel
messaging.knative.dev/v1alpha1 -> KafkaChannel
A similar thing happen for the
knative/endpoint
.It would be better if a user can explicitly set the target, like:
or even:
Same also for
endpoint
. In the case of channel, the operator creates also a subscription.The resolution of the apiVersion and kind will happen at operator level, but those properties need to be accepted by the runtime.
Wdyt @lburgazzoli ?
The text was updated successfully, but these errors were encountered: