Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -10,13 +10,14 @@ Reactive Kafka with Spring Webflux
|
|||||||
How send a message?
|
How send a message?
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
||||||
The default Path is :
|
The default Path is :
|
||||||
```
|
```
|
||||||
curl --location --request POST 'localhost:18080/produce' \
|
curl --location --request POST 'localhost:18080/produce' \
|
||||||
--header 'Content-Type: application/json'
|
--header 'Content-Type: application/json'
|
||||||
```
|
```
|
||||||
|
|
||||||
###There are two types of messages you can send (using request body) :
|
### There are two types of messages you can send (using request body) :
|
||||||
1. URI Message type
|
1. URI Message type
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
@@ -37,7 +38,7 @@ curl --location --request POST 'localhost:18080/produce' \
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
###Depending on the message you send, you will receive the following response :
|
### Depending on the message you send, you will receive the following response :
|
||||||
|
|
||||||
|
|
||||||
1. Success
|
1. Success
|
||||||
@@ -60,4 +61,4 @@ curl --location --request POST 'localhost:18080/produce' \
|
|||||||
"requestedAt": "2022-04-01T13:00:00",
|
"requestedAt": "2022-04-01T13:00:00",
|
||||||
"producedAt": "2022-04-01T22:49:25.695124"
|
"producedAt": "2022-04-01T22:49:25.695124"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user