Class PublishWindowFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.window.PublishWindowFunction
public class PublishWindowFunction
extends Object
implements org.apache.pulsar.functions.api.WindowFunction<String,Void>
Example function that uses the built in publish function in the context
to publish to a desired topic based on config.
-
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
-
PublishWindowFunction
public PublishWindowFunction()
-
-
Method Details