Class UserMetricWindowFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.window.UserMetricWindowFunction
public class UserMetricWindowFunction
extends Object
implements org.apache.pulsar.functions.api.WindowFunction<String,Void>
Example function that wants to keep track of
the event time of each message sent.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(Collection<org.apache.pulsar.functions.api.Record<String>> inputs, org.apache.pulsar.functions.api.WindowContext context)
-
Constructor Details
-
UserMetricWindowFunction
public UserMetricWindowFunction()
-
-
Method Details