mirror of https://github.com/apache/kafka.git
_unknownTaggedFields contains tagged fields which we don't understand with the current schema. However, we still want to keep the data around for various purposes. For example, if we are printing out a JSON form of the message we received, we want to include a section containing the tagged fields that couldn't be parsed. To leave these out would give an incorrect impression of what was sent over the wire. Since the unknown tagged fields represent real data, they should be included in the fields checked by equals(). Reviewers: Ismael Juma <ismael@juma.me.uk>, Boyang Chen <boyang@confluent.io> |
||
|---|---|---|
| .. | ||
| main/java/org/apache/kafka/message | ||
| test/java/org/apache/kafka/message | ||