Skip to content

Commit

Permalink
Fix doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Aug 3, 2020
1 parent 4587d7e commit 885574e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reference/asciidoc/kafka.adoc
Expand Up @@ -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
Expand All @@ -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):

Expand Down

0 comments on commit 885574e

Please sign in to comment.