From 885574ef0bdf5d3a6ccb23984055f94d3553445e Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Sun, 2 Aug 2020 20:25:24 -0400 Subject: [PATCH] Fix doc typos --- src/reference/asciidoc/kafka.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reference/asciidoc/kafka.adoc b/src/reference/asciidoc/kafka.adoc index 5e056bca4b..557846c493 100644 --- a/src/reference/asciidoc/kafka.adoc +++ b/src/reference/asciidoc/kafka.adoc @@ -3695,7 +3695,7 @@ The method must be declared as `public static`, have one of three signatures `(S * `JsonDeserializer.KEY_TYPE_METHOD` : `spring.json.key.type.method` * `JsonDeserializer.VALUE_TYPE_METHOD` : `spring.json.value.type.method` -You can use arbitrary headers or introspect the data to determine the type. +You can use arbitrary headers or inspect the data to determine the type. ==== .Example @@ -3717,7 +3717,7 @@ public static JavaType thingOneOrThingTwo(byte[] data, Headers headers) { ---- ==== -For more sophisticated data introspection consider using `JsonPath` or similar but, the simpler the test to determine the type, the more efficient the process will be. +For more sophisticated data inspection consider using `JsonPath` or similar but, the simpler the test to determine the type, the more efficient the process will be. The following is an example of creating the deserializer programmatically (when providing the consumer factory with the deserializer in the constructor):