锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲毛片αv无线播放一区,中文字幕第一页亚洲,亚洲日本在线观看视频http://m.tkk7.com/paulwong/category/53886.htmlzh-cnWed, 14 May 2014 04:01:36 GMTWed, 14 May 2014 04:01:36 GMT60瀹夎KAFKAhttp://m.tkk7.com/paulwong/archive/2014/05/11/413506.htmlpaulwongpaulwongSun, 11 May 2014 02:30:00 GMThttp://m.tkk7.com/paulwong/archive/2014/05/11/413506.htmlhttp://m.tkk7.com/paulwong/comments/413506.htmlhttp://m.tkk7.com/paulwong/archive/2014/05/11/413506.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/413506.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/413506.html
  • 涓嬭澆KAFKA
    wget http://apache.fayea.com/apache-mirror/kafka/0.8.1.1/kafka_2.9.2-0.8.1.1.tgz

  • 瑙e帇
    tar -zxf kafka_2.9.2-0.8.1.1.tgz

  • 0.7涔嬪墠鐨勭増鏈繖鏃跺氨瑕佸畨瑁呯浉搴旂殑鍖呬箣綾葷殑錛?.8.1涔嬪悗灝變笉鐢ㄤ簡銆傛妸鍛戒護鍔犺繘PATH涓?br />
    export KAFKA_HOME=/home/ubuntu/java/kafka_2.9.2-0.8.1.1
    export PATH=$JAVA_HOME/bin:$STORM_HOME/bin:$KAFKA_HOME/bin:$ZOOKEEPER_HOME/bin:$BIN_HOME/bin:$MAVEN_HOME/bin:$PATH

  • SOURCE涓涓?br />
    source /etc/profile

  • 鍒朵綔鍚姩鍛戒護錛宻tart-kafka.sh錛屽茍鏀句簬kafaka_hoem/bin涓?br />
    kafka-server-start.sh $KAFKA_HOME/config/server.properties &

  • 瀹夎ZOOKEEPER
    wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
    tar -zxf  zookeeper-3.4.6.tar.gz
    cd zookeeper-3.4.6.tar.gz/conf
    cp zoo_sample.cfg zoo.cfg

  • 鏀箊oo.cfg
    dataDir=$ZOOKEEPER_HOME/data

    #鏂逛究鏌OG
    dataLogDir=$ZOOKEEPER_HOME/logs

    #鎺у埗瀹㈡埛鐨勮繛鎺ユ暟錛岄粯璁ゆ暟涓?0錛屽お灝?/span>
    maxClientCnxns=300

    #濡傛灉鏈夊涓猌OOKEEPER INSTANCE鏃?/span>
    server.1=10.120.151.223:2888:3888
    server.2=10.120.151.224:2888:3888

  • 鍚姩ZOOKEEPER
    zkServer.sh start

  • 鏇存敼KAFKA鐨勯厤緗枃浠秙erver.properties錛?涓昏鏀瑰嚑涓湴鏂?br />
    #榪欎釜鏄厤緗甈RODUCER/CONSUMER榪炰笂鏉ョ殑鏃跺欎嬌鐢ㄧ殑鍦板潃
    advertised.host.name=54.72.4.92
    #璁劇疆KAFKA LOG璺緞
    log.dirs=$KAFKA_HOME/logs/kafka-logs
    #璁劇疆ZOOKEEPER鐨勮繛鎺ュ湴鍧
    zookeeper.connect=54.72.4.92:2181

  • 鍚姩KAFKA
    start-kafka.sh

  • 鏂板緩涓涓猅OPIC
    #KAFKA鏈夊嚑涓紝replication-factor灝卞~鍑犱釜
    kafka-topics.sh --create --topic kafkatopic --replication-factor 1 --partitions 1 --zookeeper localhost:2181

  • 鍙戦佹秷鎭嚦KAFKA
    kafka-console-producer.sh --broker-list localhost:9092 --sync --topic kafkatopic

  • 鍙﹀紑涓涓粓绔紝鏄劇ず娑堟伅鐨勬秷璐?br />
    kafka-console-consumer.sh --zookeeper localhost:2181 --topic kafkatopic --from-beginning

  • 鍦ㄥ彂閫佹秷鎭殑緇堢杈撳叆aaa錛屽垯鍙互鍦ㄦ秷璐規秷鎭殑緇堢鏄劇ず


  • paulwong 2014-05-11 10:30 鍙戣〃璇勮
    ]]>
    KAFKA璧勬簮http://m.tkk7.com/paulwong/archive/2013/09/11/403955.htmlpaulwongpaulwongWed, 11 Sep 2013 07:22:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/11/403955.htmlhttp://m.tkk7.com/paulwong/comments/403955.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/11/403955.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/403955.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/403955.html http://www.michael-noll.com/blog/2013/03/13/running-a-multi-broker-apache-kafka-cluster-on-a-single-node/


    Kafka閮ㄧ講涓庝唬鐮佸疄渚?br /> http://shift-alt-ctrl.iteye.com/blog/1930791 

    Flume-ng+Kafka+storm鐨勫涔犵瑪璁?br />http://blog.csdn.net/zxcvg/article/details/18600335


    Storm搴旂敤緋誨垪涔?#8212;—闆嗘垚Kafka(0.8鐗堢殑KAFKA)
    http://blog.csdn.net/xeseo/article/details/18615761

    paulwong 2013-09-11 15:22 鍙戣〃璇勮
    ]]>
    主站蜘蛛池模板: 国产在线国偷精品免费看| 粉色视频免费入口| 99热在线免费播放| 亚洲成人午夜在线| 亚洲免费在线视频观看| 亚洲视频国产视频| 91免费精品国自产拍在线不卡| 亚洲人成777在线播放| 黄色成人网站免费无码av| 国产成人精品日本亚洲专一区| 可以免费看的卡一卡二| 2019亚洲午夜无码天堂| 永久免费看bbb| 一级毛片正片免费视频手机看| 久久久久无码专区亚洲av | 亚洲色偷偷色噜噜狠狠99| 无码高潮少妇毛多水多水免费| 亚洲熟女乱色一区二区三区| 国产成人青青热久免费精品| 成人a毛片免费视频观看| 亚洲AV无码国产精品色午友在线| 5555在线播放免费播放| 亚洲综合一区国产精品| 亚洲成av人片天堂网老年人| a毛片在线还看免费网站| 亚洲国产精品网站久久| 免费一级成人毛片| 久久精品电影免费动漫| 亚洲人成网站免费播放| 亚洲中文字幕无码日韩| 久久久久久精品免费免费自慰| 亚洲精品精华液一区二区| 亚洲真人日本在线| 国产精品免费观看| 无码免费又爽又高潮喷水的视频| 亚洲国产人成在线观看69网站| 最近中文字幕无吗免费高清| fc2免费人成为视频| 亚洲AV成人噜噜无码网站| 亚洲综合色在线观看亚洲| **俄罗斯毛片免费|