Review Board 1.7.22


FLUME-1490: Option to limit number of events sent in Stress source

Review Request #6673 - Created Aug. 17, 2012 and updated

Patrick Wendell
FLUME-1490
Reviewers
Flume
flume-git
This patch implements a count limit, both for overall (successful + failed) events and for successful events. Seems like both could be useful in testing.
Includes unit test and a bit of code clean-up.
Total:
1
Open:
0
Resolved:
1
Dropped:
0
Status:
From:
Review request changed
Updated (Aug. 17, 2012, 3:39 p.m.)
This new diff uses reflection to avoid relaxing visibility in StressSource's event field. It also cleans up some extra scaffolding in the test file that wasn't actually used. 
Ship it!
Posted (Aug. 17, 2012, 8:22 p.m.)
Ship It!