Class AvroSchemaTestFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.AvroSchemaTestFunction
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<AvroTestObject,AvroTestObject>
public class AvroSchemaTestFunction
extends Object
implements org.apache.pulsar.functions.api.Function<AvroTestObject,AvroTestObject>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(AvroTestObject input, org.apache.pulsar.functions.api.Context context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.functions.api.Function
close, initialize
-
Constructor Details
-
AvroSchemaTestFunction
public AvroSchemaTestFunction()
-
-
Method Details
-
process
public AvroTestObject process(AvroTestObject input, org.apache.pulsar.functions.api.Context context) throws Exception - Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<AvroTestObject,AvroTestObject> - Throws:
Exception
-