funktionio / funktion

a CLI tool for working with funktion
https://funktion.fabric8.io/
Apache License 2.0
297 stars 25 forks source link

support a Service being a Subscription using suitable label/annotations #2

Closed jstrachan closed 7 years ago

jstrachan commented 7 years ago

If folks are creating a Deployment and a Service to consume HTTP endpoints, it might be neater to add the Subscription metadata onto the Service itself via labels/annotations?

See https://github.com/fabric8io/fabric8-ipaas/issues/259

Then as a Service developer, you expose a HTTP endpoint then you can also subscribe that service to some other endpoint (kafka or whatever) as well?

jstrachan commented 7 years ago

maybe just including the Subscription resource along with the app that creates the Service may be simpler really; it'd certainly make the tooling easier.

Am gonna close this for now