[
https://issues.apache.org/jira/browse/AVRO-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17859826#comment-17859826
]
Oscar Westra van Holthe - Kind commented on AVRO-4003:
------------------------------------------------------
There is currently no plan to implement this for Java, as consumers generally
read what they need. For required fields, for example, one can create a read
schema without default values for (some) fields. If one of these fields is
missing in the write schema, resolution will fail.
Is this a workable solution for you?
> Option to fail when extra fields are in the payload - Java
> ----------------------------------------------------------
>
> Key: AVRO-4003
> URL: https://issues.apache.org/jira/browse/AVRO-4003
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: Cameron Mayhew
> Priority: Minor
>
> Hello,
>
> This relates to: https://issues.apache.org/jira/browse/AVRO-2200
>
> Wondering if there's any plan to do the same for Java? Dealing with this
> issue currently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)