java.lang.Object
org.apache.pulsar.functions.api.examples.ConfigBasedAppendFunction
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<String,String>
public class ConfigBasedAppendFunction
extends Object
implements org.apache.pulsar.functions.api.Function<String,String>
Function that appends something to incoming input based on config supplied.
-
Constructor Summary
Constructors
-
Method Summary
process(String 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, wait
Methods inherited from interface org.apache.pulsar.functions.api.Function
close, initialize
-
Constructor Details
-
ConfigBasedAppendFunction
public ConfigBasedAppendFunction()
-
Method Details
-
process
public String process(String input,
org.apache.pulsar.functions.api.Context context)
- Specified by:
process in interface org.apache.pulsar.functions.api.Function<String,String>