code: public static Field createAvroField(String name,
                                        org.apache.avro.Schema avroSchema, boolean isReflect) {
      Field field = Field.createObject(name, Object.class);
      field.setObjectSerialization(AvroFieldSerialization.class);
      field.addProp("avro.schema", avroSchema.toString());
      field.addProp("avro.reflection", Boolean.toString(isReflect));
      return field;
    }
docs: Creates a field containing an Avro object that will be serialized using
  {@link AvroFieldSerialization}
  
  @param name       Field's name
  @param avroSchema The schema of the field
  @param isReflect  If the object to be serialized needs reflection to be serialized
  or deserialized
  @return