----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6949/#review11170 -----------------------------------------------------------
flume-ng-core/src/main/java/org/apache/flume/source/StressSource.java <https://reviews.apache.org/r/6949/#comment23889> I agree with Brock. Please take a look at FEST-Reflect as one tool you can use to leverage reflection [http://docs.codehaus.org/display/FEST/Reflection+Module]. This is used in flume-file-channel module in TestUtils. - Will McQueen On Sept. 7, 2012, 6:25 p.m., Ted Malaska wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6949/ > ----------------------------------------------------------- > > (Updated Sept. 7, 2012, 6:25 p.m.) > > > Review request for Flume. > > > Description > ------- > > Adding batchSize to StressSource along with junit to test it. > > Important note: the total number of events getting sent will equals > maxTotalEvents, so if maxTotalEvents is not devisable by batchSize then the > last batch will contain only the remainder of events needed to reach > maxTotalEvents. > > > This addresses bug FLUME-1536. > https://issues.apache.org/jira/browse/FLUME-1536 > > > Diffs > ----- > > flume-ng-core/src/main/java/org/apache/flume/source/StressSource.java > 5b73910 > flume-ng-core/src/test/java/org/apache/flume/source/TestStressSource.java > 4ec16c7 > > Diff: https://reviews.apache.org/r/6949/diff/ > > > Testing > ------- > > > Thanks, > > Ted Malaska > >
