Enough with the code, let's get on with the demo! We start the topology using the main method of the FinancialAnalyticsTopology
class. For a better demo, we introduce random prices between zero and one hundred. (Refer back to the Emitter
code.)
Once the topology is started, you will see the following output:
2014-02-16 09:47:15,479-0500 | INFO [Thread-18] DefaultCoordinator.initializeTransaction(24) | Initializing Transaction [1615] 2014-02-16 09:47:15,482-0500 | INFO [Thread-22] DruidState.commit(28) | Committing partition [0] of batch [1615] 2014-02-16 09:47:15,484-0500 | INFO [Thread-22] StormFirehose.sendMessages(82) | Beginning commit to Druid. [7996] messages, unlocking [START] 2014-02-16 09:47:15,511-0500 | INFO [chief-stockinfo] StormFirehose.nextRow(58) | Batch is fully consumed by Druid. Unlocking [FINISH] 2014-02-16 09:47:15,511-0500 | INFO [Thread-22] StormFirehose.sendMessages(93) | Returning control to Storm. 2014-02-16 09:47:15,513-0500 | INFO [Thread...