Class RemoveAvroFieldFunction

java.lang.Object
org.apache.pulsar.tests.integration.functions.RemoveAvroFieldFunction
All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericObject,Void>

public class RemoveAvroFieldFunction extends Object implements org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericObject,Void>
This function removes a "field" from a AVRO message
  • Constructor Details

    • RemoveAvroFieldFunction

      public RemoveAvroFieldFunction()
  • Method Details

    • process

      public Void process(org.apache.pulsar.client.api.schema.GenericObject genericObject, org.apache.pulsar.functions.api.Context context) throws Exception
      Specified by:
      process in interface org.apache.pulsar.functions.api.Function<org.apache.pulsar.client.api.schema.GenericObject,Void>
      Throws:
      Exception