Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In RichFunction, user can getRuntimeContext().getCollector(), it returns a RichCollector

 

...

  • Add <S> void collect(OutputTag<S> tag, S value) method to Collector interface 

In this way, all of existing function will have side output support without compatbility issue. The drawbacks are there will be large number classes implementing Collector interface with empty implementation 

...