Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 612 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 612 Bytes

Kafka Producer POC

  1. Clone the Producer
  2. Run docker-compose up inside the producer's folder
  3. Run the producer application
  4. Clone the Consumer
  5. Run the consumer application
  6. Send a request like the cURL:
curl --request POST \
   --url http://localhost:8080/product \
   --header 'Content-Type: application/json' \
   --data '{
   "name": "Tarefa 1",
   "startDate": "2022-08-17T15:23:51",
   "endDate": "2022-08-17T15:23:51",
   "done": false
   }'
  1. Check if the message was sent