Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 420 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 420 Bytes

kafka-store

Small application to load and query Products from a store using REST or Kafka

Store

In-Memory Store holding the Products

Kafka

Add products to the store by sending messages to Kafka:

  • Topic: product
  • Key: {id}
  • Value: product JSON-Payload

REST

Add / Query products from the store using REST:

  • Add: POST /product/{id} with product JSON-Payload
  • Query: GET /product/{id}