- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<String,Void>
public class UserPublishFunction
extends Object
implements org.apache.pulsar.functions.api.Function<String,Void>
An example demonstrate publishing messages through Context.
-
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
-
UserPublishFunction
public UserPublishFunction()
-
Method Details
-
process
public Void process(String input,
org.apache.pulsar.functions.api.Context context)
- Specified by:
process in interface org.apache.pulsar.functions.api.Function<String,Void>