eolivelli commented on pull request #11238:
URL: https://github.com/apache/pulsar/pull/11238#issuecomment-876249537
> I don't understand why the build is failing with
>
> ```
> Error: Medium: Unread field:
org.apache.pulsar.client.impl.schema.AutoProduceValidatedAvroBytesSchema.schema
[org.apache.pulsar.client.impl.schema.AutoProduceValidatedAvroBytesSchema] At
AutoProduceValidatedAvroBytesSchema.java:[line 43] URF_UNREAD_FIELD
> ```
>
> In `AutoProduceValidatedAvroBytesSchema`'s super class
`AutoProduceBytesSchema`, the `schema` field is used in
>
> ```java
> @Override
> public SchemaInfo getSchemaInfo() {
> ensureSchemaInitialized();
>
> return schema.getSchemaInfo();
> }
> ```
AutoProduceBytesSchema already has a "schema" field, and you are adding a
new field that hides the inherited one
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]