Skip to content

realxujiang/storm-kafka-examples

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.itweet.sendmsg.SendMessageKafka
  • storm processing data
    storm jar storm-kafka-examples-1.0-SNAPSHOT.jar cn.itweet.kafka_storm.topology.CounterTopology
  • Processing data to HDFS,Running results hadoop fs -ls /tmp/order_hdfs-xxx.log

About

storm kafka hdfs examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages