Skip to content

Commit

Permalink
Have as many WARCBolt instances as there are workers, fix #64
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Nioche <[email protected]>
  • Loading branch information
jnioche committed Dec 13, 2023
1 parent 0bfccf5 commit 63dafc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected int run(String[] args) {

// take it from feed default output so that the feed files themselves
// don't get included - unless we want them too of course!
builder.setBolt("warc", warcbolt).localOrShuffleGrouping("feed");
builder.setBolt("warc", warcbolt, numWorkers).localOrShuffleGrouping("feed");

BoltDeclarer statusBolt = builder.setBolt("status", new StatusUpdaterBolt(), numWorkers)
.localOrShuffleGrouping("fetch", Constants.StatusStreamName)
Expand Down

0 comments on commit 63dafc1

Please sign in to comment.