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:
Gary Russell
2022-02-25 11:58:18 -05:00
parent cc912425d0
commit ae80c5d005

View File

@@ -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: