Class CursorManagementFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.CursorManagementFunction
public class CursorManagementFunction
extends Object
implements org.apache.pulsar.functions.api.Function<String,String>
A function that demonstrates how to use pulsar admin client exposed from
Function Context. In this particular example, for every input message,
the function do reset cursor of current function's subscription to a
specified timestamp.
-
Constructor Details
-
CursorManagementFunction
public CursorManagementFunction()
-
-
Method Details