I have a stream with some keys and I want to store some state for each key. My stream looks something like this:
inputStream .keyBy(new MyKeySelector()) .