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.
Asked
Active
Viewed 479 times
1 Answers
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
-
I did it this way. Was actually facing another problem. Thanks for the answer though. – rudd0211 Jun 06 '14 at 07:06