event-gateway-example icon indicating copy to clipboard operation
event-gateway-example copied to clipboard

Improve example documentation

Open nikgraf opened this issue 8 years ago • 3 comments

  • [ ] graphic showing the architecture
  • [ ] animated graphic for each step showing the current workflow
  • [ ] finish guide for the last 2 steps

nikgraf avatar Aug 17 '17 08:08 nikgraf

This is very exciting to see and will make composing applications a matter of configuration. I understand it's early, but I've been looking through the docs and code to understand how it works.

This part appears to be magic

In addition it downloads, runs and configures the Event Gateway to invoke the function every time

I don't see any plugins, code, etc. for this Is this built into the serverless framework itself? I understand it oly run locally at this point, but interested in what a production deployment requires in terms of services running (persistence, queues, topics, etc.)

Just saw from the blog post which answers the questions

Tightly integrates with Serverless Framework

The Event Gateway ties right into the Serverless Framework and is available for developers to use locally today.

If there are any technical details you can share, that'd be great.

Sorry if jumping the gun. Very exciting.

Thank you, Brian

pfeilbr avatar Aug 17 '17 18:08 pfeilbr

@pfeilbr happy to answer as best as I can.

You can find the plugin code here https://github.com/serverless/serverless/tree/master/lib/plugins/run. It downloads a specific version of the Event Gateway and spins it up as a subprocess. You can run the Event Gateway separately, but in order to provide a seamless experience we decided to spin up everything for developers they need to develop services.

Regarding the deployment story: This is our next step. At the moment we are thinking about providing a hosted version of the Event Gateway, but also provide instructions how to deploy yourself. Right now I can only offer: Hang in there. It's coming soon 🙂

Let me know if you have more questions.

nikgraf avatar Aug 18 '17 09:08 nikgraf

Thanks for pointing me to the code and the explanation. All makes sense now. Great to see go under the covers.

I'll continue to follow and hang tight 😄

Thanks again, Brian

pfeilbr avatar Aug 18 '17 12:08 pfeilbr