0

I was able to process a stream of events in batches using the partitionpersist api provided with TridentState. But now, I want to emit the processed values of this bolt and collect them as another batch of events in a following bolt.

rudd0211
  • 115
  • 1
  • 6

1 Answers1

0

The state.newValuesStream() method on your TridentState does exactly that -- it returns a stream of newly updated values from your TridentState.

schiavuzzi
  • 764
  • 4
  • 9