Class UserExceptionWindowFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.window.UserExceptionWindowFunction
public class UserExceptionWindowFunction
extends Object
implements org.apache.pulsar.functions.api.WindowFunction<String,String>
This Function simulates a pulsar function encountering runtime errors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(Collection<org.apache.pulsar.functions.api.Record<String>> input, org.apache.pulsar.functions.api.WindowContext context)
-
Constructor Details
-
UserExceptionWindowFunction
public UserExceptionWindowFunction()
-
-
Method Details