Skip to content

About

microservices-event A demo application with Java, Go, Javascript, Kafka and PostgresQL.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Microservices Demo

A demo application with Java, Go, Javascript, Kafka and PostgresQL.

Architecture

Architecture diagram

  • A front-end web app in Java which lets you vote between Tacos and Burritos
  • A Kafka queue which collects new votes
  • A Golang or worker which consumes votes from Kafka and stores them in PostgresQL
  • A PostgresQL database
  • A Node.js webapp which shows the results of the voting in real time

Run the demo application in Okteto

$ git clone https://github.com/okteto/microservices-demo
$ cd microservices-demo
$ okteto login
$ okteto deploy

Develop on the Result microservice

$ okteto up result

Develop on the Vote microservice

$ okteto up vote

Develop on the Worker microservice

$ okteto up worker
$ make start

Notes

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.

This isn't an example of a properly architected perfectly designed distributed app... it's just a simple example of the various types of pieces and languages you might see (queues, persistent data, etc), and how to deal with them in Okteto.

Presentation

Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30

Demo Video

Watch the demo on YouTube

About

microservices-event A demo application with Java, Go, Javascript, Kafka and PostgresQL.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages