Skip to content

Commit cc91242

Browse files
committed
Fix sample-01 README
Now using the more efficient byte array.
1 parent 01549a6 commit cc91242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/sample-01/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
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`).
44

5-
The producer uses a `JsonSerializer`; the consumer uses the `StringDeserializer` that is automatically configured by Spring Boot, together with a `StringJsonMessageConverter` which converts to the type of the listener method argument.
5+
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.
66

77
Run the application and use curl to send some data:
88

0 commit comments

Comments
 (0)