From cc912425d05a9f5461b2904e6219bb2a5bd55096 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 25 Feb 2022 11:57:03 -0500 Subject: [PATCH] Fix sample-01 README Now using the more efficient byte array. --- samples/sample-01/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sample-01/README.adoc b/samples/sample-01/README.adoc index 50c5261f..b2db8d09 100644 --- a/samples/sample-01/README.adoc +++ b/samples/sample-01/README.adoc @@ -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 `StringDeserializer` that is automatically configured by Spring Boot, together with a `StringJsonMessageConverter` which converts to the type of the listener method argument. +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. Run the application and use curl to send some data: