You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/05/24 15:42:54 UTC

[GitHub] [incubator-openwhisk-runtime-nodejs] jthomas opened a new issue #130: Support listening to cloud events in knative

jthomas opened a new issue #130: Support listening to cloud events in knative
URL: https://github.com/apache/incubator-openwhisk-runtime-nodejs/issues/130
 
 
   This is a feature request... 
   
   Looking at the recent knative integration (#119) - this works great for actions listening to HTTP requests as it proxies between the HTTP request and the expected Web Action parameters/response. 
   
   This work could be extended to support listening to Cloud Events on Knative. This would allow those actions to be connected to knative [event sources](https://knative.dev/docs/eventing/).
   
   Digging around in how Cloud Event receivers work - they use an SDK which just listens on a HTTP port for the incoming events and decodes to an object, e.g. 
   https://github.com/knative/eventing-sources/blob/master/cmd/event_display/main.go
   
   We can just import the CloudEvents JS SDK to handle the HTTP transport and proxy the events to the handler functions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services