This API is responsible for publishing the means of payment in the queue of Apache Kafka
- SOLID
- API REST
- Sending data in Message Broker queues
- Dependency Injection
- Automated tests
- Containerization with docker
To upload the API in an automated way, use the repository: kafka-messaging
To make the HTTP requests below, the httpie tool was used:
- Create a payment
$ http POST :8081/payment customerName="Weverson L" paymentMethod="C" paymentAmount=1000.0
[
{
"id": "2b7df20b-69ff-44a7-8f7d-530acad43c7d",
"customerName": "Weverson L",
"paymentAmount": 1000.0,
"paymentMethod": "CREDIT",
"status": "ANALYSIS"
}
]
Kafka Producer
is MIT licensed.