- 所有已实现的接口:
- Function<String,Void>
public class WordCountFunction
extends Object
implements Function<String,Void>
The classic word count example done using pulsar functions
Each input message is a sentence that split into words and each word counted.
The built in counter state is used to keep track of the word count in a
persistent and consistent manner.