Class InstanceIdAppenderFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.InstanceIdAppenderFunction
-
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.String>
public class InstanceIdAppenderFunction extends java.lang.Object implements org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.String>Function that appends the instance id to the payload message.
-
-
Constructor Summary
Constructors Constructor Description InstanceIdAppenderFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringprocess(java.lang.String input, org.apache.pulsar.functions.api.Context context)
-