Small application to load and query Products from a store using REST or Kafka
In-Memory Store holding the Products
Add products to the store by sending messages to Kafka:
- Topic:
product
- Key:
{id}
- Value:
product
JSON-Payload
Add / Query products from the store using REST:
- Add:
POST /product/{id}
withproduct
JSON-Payload - Query:
GET /product/{id}