You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/07/08 08:39:31 UTC

[GitHub] [pulsar] eolivelli commented on pull request #11238: [Issue 11007] add a version of AUTO_PRODUCE_BYTES that doesn't validate the message in `encode`

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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org