Skip to content

Commit

Permalink
Fix naming mismatch for twitter spout when building the topology for …
Browse files Browse the repository at this point in the history
…the print sample stream example
  • Loading branch information
Marc Beitchman committed Aug 10, 2014
1 parent 9968b8b commit 747765b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public static void main(String[] args) {

TopologyBuilder builder = new TopologyBuilder();

builder.setSpout("spoutId", new TwitterSampleSpout(consumerKey, consumerSecret,
builder.setSpout("twitter", new TwitterSampleSpout(consumerKey, consumerSecret,
accessToken, accessTokenSecret, keyWords));
builder.setBolt("print", new PrinterBolt())
.shuffleGrouping("spout");
.shuffleGrouping("twitter");


Config conf = new Config();
Expand Down

0 comments on commit 747765b

Please sign in to comment.