Class CursorManagementFunction

java.lang.Object
org.apache.pulsar.functions.api.examples.CursorManagementFunction
All Implemented Interfaces:
Function<String,String>

public class CursorManagementFunction extends Object implements 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.