More sample-01 README Fixes
Boot auto configures a string deserializer so we now explicitly configure the byte array serializer.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
This sample demonstrates a simple producer and consumer; the producer sends objects of type `Foo1` and the consumer receives objects of type `Foo2` (the objects have the same field, `foo`).
|
||||
|
||||
The producer uses a `JsonSerializer`; the consumer uses the `ByteArrayDeserializer` that is automatically configured by Spring Boot, together with a `JsonMessageConverter` which converts to the type of the listener method argument.
|
||||
The producer uses a `JsonSerializer`; the consumer uses the `ByteArrayDeserializer`, together with a `JsonMessageConverter` which converts to the type of the listener method argument.
|
||||
|
||||
Run the application and use curl to send some data:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user