Moving Data Into and Out of a Storm Topology
There are two approaches for moving data into and out of a Storm topology:
Use a spout or bolt connector to ingest or write streaming data from or to a component such as Kafka, HDFS or HBase. For more information, see Moving Data Into and Out of Apache Storm Using Spouts and Bolts.
Use the core Storm or Trident APIs to write a spout or bolt.