Class UserMetricWindowFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.window.UserMetricWindowFunction
- All Implemented Interfaces:
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<Record<String>> inputs, WindowContext context)
-
Constructor Details
-
UserMetricWindowFunction
public UserMetricWindowFunction()
-
-
Method Details
-
process
- Specified by:
processin interfaceWindowFunction<String,Void> - Throws:
Exception
-