We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8e48c commit c0bad2dCopy full SHA for c0bad2d
examples/storm/src/main/java/com/yahoo/bullet/storm/examples/RandomSpout.java
@@ -120,6 +120,7 @@ public void nextTuple() {
120
if (timeNow <= nextIntervalStart && generatedThisPeriod < maxPerPeriod) {
121
outputCollector.emit(new Values(generateRecord()), DUMMY_ID);
122
generatedThisPeriod++;
123
+ return;
124
}
125
if (timeNow > nextIntervalStart) {
126
log.info("Generated {} tuples out of {}", generatedThisPeriod, maxPerPeriod);
0 commit comments