Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 2.03 KB

README.md

File metadata and controls

54 lines (38 loc) · 2.03 KB

CI

Adevinta Spain MicroServices Live!

This repo only contains the source code created on the live coding sessions, but not our platform stuff

Watch it on YouTube 👇

  1. 🌍 Hello World! with @guatebus & @rogervinas
  2. 🔎 Logs & 📈 Metrics with @miquelrossello & @rogervinas
  3. 🏗️ AWS Infrastructure with @tetexxr & @rogervinas
  4. ✉️ Kafka with @tetexxr & @rogervinas
  5. 🐙 KrakenD API Gateway and :octocat: ms-test--krakend-twitch with @fmachi & @rogervinas

Take a look at our discussions page 👀

Run

docker-compose up -d
./gradlew bootRun

Hello!

Use curl:

curl http://localhost:8000/hello

Ping-Pong!

Use kcat:

  • Produce:
echo -n '{"ping":123, "message":"hi!"}' | kcat -b localhost:9094 -P -t priv.hello.twitch.ping 
  • Consume:
kcat -b localhost:9094 -C -t priv.hello.twitch.pong 

Test

./gradlew test

Integration Test

./gradlew integrationTest