Skip to content

peefau/storm-kafka-example

Repository files navigation

strom-kafka-examples

Process Design

storm-kafka-hdfs

Testing

  1. Linux Terminal execute command
    zookeeper-cli   # create /order /id
  1. Maven package to target directory
  • send msg to kafka
    storm jar storm-kafka-examples-1.0-SNAPSHOT.jar cn.inspur.sendmsg.SendMessageKafka
  • storm processing data
    storm jar storm-kafka-examples-1.0-SNAPSHOT.jar cn.inspur.kafka_storm.topology.CounterTopology
  • Processing data to HDFS,Running results hadoop fs -ls /tmp/order_hdfs-xxx.log

About

storm-kafka-example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages