锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产亚洲福利精品一区,亚洲另类无码专区首页,亚洲欧洲日产国码高潮αvhttp://m.tkk7.com/paulwong/category/53880.htmlzh-cnTue, 17 Feb 2015 16:06:19 GMTTue, 17 Feb 2015 16:06:19 GMT60寮婧愬垎甯冨紡鎼滅儲騫沖彴ELK+Redis+Syslog-ng瀹炵幇鏃ュ織瀹炴椂鎼滅儲http://m.tkk7.com/paulwong/archive/2015/02/17/422972.htmlpaulwongpaulwongTue, 17 Feb 2015 08:18:00 GMThttp://m.tkk7.com/paulwong/archive/2015/02/17/422972.htmlhttp://m.tkk7.com/paulwong/comments/422972.htmlhttp://m.tkk7.com/paulwong/archive/2015/02/17/422972.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/422972.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/422972.html闃呰鍏ㄦ枃

paulwong 2015-02-17 16:18 鍙戣〃璇勮
]]>
鐢↘ibana鍜宭ogstash蹇熸惌寤哄疄鏃舵棩蹇楁煡璇€佹敹闆嗕笌鍒嗘瀽緋葷粺http://m.tkk7.com/paulwong/archive/2014/09/30/418428.htmlpaulwongpaulwongTue, 30 Sep 2014 05:14:00 GMThttp://m.tkk7.com/paulwong/archive/2014/09/30/418428.htmlhttp://m.tkk7.com/paulwong/comments/418428.htmlhttp://m.tkk7.com/paulwong/archive/2014/09/30/418428.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/418428.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/418428.html闃呰鍏ㄦ枃

paulwong 2014-09-30 13:14 鍙戣〃璇勮
]]>
logstash鏈浣沖疄璺?/title><link>http://m.tkk7.com/paulwong/archive/2014/09/30/418423.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Tue, 30 Sep 2014 03:24:00 GMT</pubDate><guid>http://m.tkk7.com/paulwong/archive/2014/09/30/418423.html</guid><wfw:comment>http://m.tkk7.com/paulwong/comments/418423.html</wfw:comment><comments>http://m.tkk7.com/paulwong/archive/2014/09/30/418423.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/paulwong/comments/commentRss/418423.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/paulwong/services/trackbacks/418423.html</trackback:ping><description><![CDATA[0. 綆浠?br /><br /><br />1. 鍩虹鐭ヨ瘑<br />1.1. 浠嬬粛<br />1.2. 瀹夎<br />1.3. Hello World<br />1.4. 閰嶇疆璇硶<br /><br /><br />2. 杈撳叆鎻掍歡(Input)<br />2.1. 鏍囧噯杈撳叆(Stdin)<br />2.2. 璇誨彇鏂囦歡(File)<br />2.3. 璇誨彇緗戠粶鏁版嵁(TCP)<br />2.4. 璇誨彇 Syslog 鏁版嵁<br />2.5. 璇誨彇 Redis 鏁版嵁<br /><br /><br />3. 緙栫爜鎻掍歡(Codec)<br />3.1. 閲囩敤 JSON 緙栫爜<br />3.2. 鍚堝茍澶氳鏁版嵁(Multiline)<br /><br /><br />4. 榪囨護鍣ㄦ彃浠?Filter)<br />4.1. Grok 姝e垯鎹曡幏<br />4.2. 鏃墮棿澶勭悊(Date)<br />4.3. 鏁版嵁淇敼(Mutate)<br />4.4. GeoIP 鏌ヨ褰掔被<br />4.5. UserAgent 鍖歸厤褰掔被<br />4.6. Key-Value 鍒囧垎<br />4.7. 闅忓績鎵嬈茬殑 Ruby 澶勭悊<br />4.8. 鏁板肩粺璁?Metrics)<br /><br /><br />5. 杈撳嚭鎻掍歡(Output)<br />5.1. 鏍囧噯杈撳嚭(Stdout)<br />5.2. 淇濆瓨鎴愭枃浠?File)<br />5.3. 淇濆瓨榪?Elasticsearch<br />5.4. 杈撳嚭鍒?Redis<br />5.5. 杈撳嚭鍒?Statsd<br />5.6. 鎶ヨ鍒?Nagios<br />5.7. 鍙戦侀偖浠?Email)<br />5.8. 璋冪敤鍛戒護鎵ц(Exec)<br /><br /><br />6. 灝氭湭榪涘叆瀹樻柟搴撶殑甯哥敤鎻掍歡<br />6.1. Kafka<br />6.2. HDFS<br />6.3. Scribe<br /><br /><br />7. 娣卞叆浜嗚В<br />7.1. 鑷繁鍐欎竴涓彃浠?br />7.2. 涓轟粈涔堢敤 JRuby? 鑳界敤 MRI 榪?br />7.3. 鍏朵粬綾諱技欏圭洰<img src ="http://m.tkk7.com/paulwong/aggbug/418423.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/paulwong/" target="_blank">paulwong</a> 2014-09-30 11:24 <a href="http://m.tkk7.com/paulwong/archive/2014/09/30/418423.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Logstash logo寮婧愭棩蹇楃鐞?Logstashhttp://m.tkk7.com/paulwong/archive/2014/08/20/417134.htmlpaulwongpaulwongWed, 20 Aug 2014 01:22:00 GMThttp://m.tkk7.com/paulwong/archive/2014/08/20/417134.htmlhttp://m.tkk7.com/paulwong/comments/417134.htmlhttp://m.tkk7.com/paulwong/archive/2014/08/20/417134.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/417134.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/417134.html
logstash 鏄竴涓簲鐢ㄧ▼搴忔棩蹇椼佷簨浠剁殑浼犺緭銆佸鐞嗐佺鐞嗗拰鎼滅儲鐨勫鉤鍙般?br />浣犲彲浠ョ敤瀹冩潵緇熶竴瀵瑰簲鐢ㄧ▼搴忔棩蹇楄繘琛屾敹闆嗙鐞嗭紝鎻愪緵 Web 鎺ュ彛鐢ㄤ簬鏌ヨ鍜岀粺璁°?br />
logstash screenshot

 



paulwong 2014-08-20 09:22 鍙戣〃璇勮
]]>
NoSql瀛樺偍鏃ュ織鏁版嵁涔婼pring+Logback+Hbase娣卞害闆嗘垚http://m.tkk7.com/paulwong/archive/2014/07/05/415490.htmlpaulwongpaulwongSat, 05 Jul 2014 15:14:00 GMThttp://m.tkk7.com/paulwong/archive/2014/07/05/415490.htmlhttp://m.tkk7.com/paulwong/comments/415490.htmlhttp://m.tkk7.com/paulwong/archive/2014/07/05/415490.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/415490.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/415490.htmlhttp://www.cnblogs.com/xguo/p/3298956.html

paulwong 2014-07-05 23:14 鍙戣〃璇勮
]]>
Will be reviewing a new Apache Nutch book by Packthttp://m.tkk7.com/paulwong/archive/2014/01/28/409411.htmlpaulwongpaulwongTue, 28 Jan 2014 12:00:00 GMThttp://m.tkk7.com/paulwong/archive/2014/01/28/409411.htmlhttp://m.tkk7.com/paulwong/comments/409411.htmlhttp://m.tkk7.com/paulwong/archive/2014/01/28/409411.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/409411.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/409411.htmlhttp://www.packtpub.com/web-crawling-and-data-mining-with-apache-nutch/book

paulwong 2014-01-28 20:00 鍙戣〃璇勮
]]>
ELASTICSEARCH璧勬簮http://m.tkk7.com/paulwong/archive/2013/09/12/404004.htmlpaulwongpaulwongThu, 12 Sep 2013 09:51:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/12/404004.htmlhttp://m.tkk7.com/paulwong/comments/404004.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/12/404004.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/404004.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/404004.html http://www.elasticsearch.org/guide/reference/api/index_/


鏌ヨ錛?br /> http://www.elasticsearch.org/blog/your-data-your-search/


JAVA API錛屾敞鎰忕鍙f槸9300錛屼笉鏄?200
http://stackoverflow.com/questions/16670219/why-cant-i-connect-to-elasticsearch-through-java-api
http://www.elasticsearch.org/guide/reference/java-api/client/


涔︾睄
http://fuxiaopang.gitbooks.io/learnelasticsearch/getting_started/README.html




paulwong 2013-09-12 17:51 鍙戣〃璇勮
]]>
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 鍙戣〃璇勮
]]>
STORM鍚姩涓庨儴緗睺OPOLOGYhttp://m.tkk7.com/paulwong/archive/2013/09/11/403942.htmlpaulwongpaulwongWed, 11 Sep 2013 03:00:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/11/403942.htmlhttp://m.tkk7.com/paulwong/comments/403942.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/11/403942.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/403942.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/403942.html
  • 鍚姩ZOOPKEEPER
    zkServer.sh start
  • 鍚姩NIMBUS
    storm nimbus &
  • 鍚姩SUPERVISOR
    storm supervisor &
  • 鍚姩UI
    storm ui &
  • 閮ㄧ講TOPOLOGY
    storm jar /opt/hadoop/loganalyst/storm-dependend/data/teststorm-1.0.jar teststorm.TopologyMain /opt/hadoop/loganalyst/storm-dependend/data/words.txt
  • 鍒犻櫎TOPOLOGY
    storm kill {toponame}
  • 嬋媧籘OPOLOGY
    storm active {toponame}
  • 涓嶆縺媧籘OPOLOGY
    storm deactive {toponame}
  • 鍒楀嚭鎵鏈塗OPOLOGY
    storm list





  • paulwong 2013-09-11 11:00 鍙戣〃璇勮
    ]]>
    STORM璧勬簮http://m.tkk7.com/paulwong/archive/2013/09/08/403826.htmlpaulwongpaulwongSun, 08 Sep 2013 11:59:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/08/403826.htmlhttp://m.tkk7.com/paulwong/comments/403826.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/08/403826.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/403826.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/403826.htmlhttp://www.jansipke.nl/installing-a-storm-cluster-on-centos-hosts/
    http://www.cnblogs.com/kemaswill/archive/2012/10/24/2737833.html
    http://abentotoro.blog.sohu.com/197023262.html
    http://www.cnblogs.com/panfeng412/archive/2012/11/30/how-to-install-and-deploy-storm-cluster.html


    浣跨敤 Twitter Storm 澶勭悊瀹炴椂鐨勫ぇ鏁版嵁
    http://www.ibm.com/developerworks/cn/opensource/os-twitterstorm/


    Storm鏁版嵁嫻佹ā鍨嬬殑鍒嗘瀽鍙婅璁?br />http://www.cnblogs.com/panfeng412/archive/2012/07/29/storm-stream-model-analysis-and-discussion.html
    http://www.cnblogs.com/panfeng412/tag/Storm/


    storm-kafka
    https://github.com/nathanmarz/storm-contrib/tree/master/storm-kafka


    浣跨敤Storm瀹炵幇瀹炴椂澶ф暟鎹垎鏋愶紒
    http://www.csdn.net/article/2012-12-24/2813117-storm-realtime-big-data-analysis


    storm-deploy-aws
    https://github.com/nathanmarz/storm-deploy/wiki


    !!!鐭ヤ箮緗戠珯涓婄殑Twitter Storm
    http://www.zhihu.com/topic/19673110


    storm-elastic-search
    https://github.com/hmsonline/storm-elastic-search


    storm-examples
    https://github.com/stormprocessor/storm-examples


    kafka-aws
    https://github.com/nathanmarz/kafka-deploy


    Next Gen Real-time Streaming with Storm-Kafka Integration
    http://blog.infochimps.com/2012/10/30/next-gen-real-time-streaming-storm-kafka-integration/


    flume+kafka+storm+mysql 鏁版嵁嫻?
    http://blog.csdn.net/baiyangfu/article/details/8096088
    http://blog.csdn.net/baiyangfu/article/category/1244640


    Kafka瀛︿範絎旇
    http://blog.csdn.net/baiyangfu/article/details/8096084


    STORM+KAFKA
    https://github.com/buildlackey/cep


    STORM+KETTLE
    https://github.com/buildlackey/kettle-storm



    paulwong 2013-09-08 19:59 鍙戣〃璇勮
    ]]>
    STORM涓嶩ADOOP鐨勬瘮杈?/title><link>http://m.tkk7.com/paulwong/archive/2013/09/08/403824.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Sun, 08 Sep 2013 11:49:00 GMT</pubDate><guid>http://m.tkk7.com/paulwong/archive/2013/09/08/403824.html</guid><wfw:comment>http://m.tkk7.com/paulwong/comments/403824.html</wfw:comment><comments>http://m.tkk7.com/paulwong/archive/2013/09/08/403824.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/paulwong/comments/commentRss/403824.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/paulwong/services/trackbacks/403824.html</trackback:ping><description><![CDATA[瀵逛簬涓鍫嗘椂鍒誨湪澧為暱鐨勬暟鎹紝濡傛灉瑕佺粺璁★紝鍙互閲囧彇浠涔堟柟娉曞憿錛?br /><ol><li>絳夋暟鎹闀垮埌涓瀹氱▼搴︾殑鏃跺欙紝璺戜竴涓粺璁$▼搴忚繘琛岀粺璁°傞傜敤浜庡疄鏃舵ц姹備笉楂樼殑鍦烘櫙銆?br />濡傚皢鏁版嵁瀵煎埌HDFS錛屽啀榪愯涓涓狹AP REDUCE JOB銆?br /></li><li>濡傛灉瀹炴椂鎬ц姹傞珮鐨勶紝涓婇潰鐨勬柟娉曞氨涓嶈浜嗐傚洜姝ゅ氨甯︽潵絎簩縐嶆柟娉曘?br />鍦ㄦ暟鎹瘡嬈″闀夸竴絎旂殑鏃跺欙紝灝辮繘琛岀粺璁OB錛岀粨鏋滄斁鍒癉B鎴栨悳绱㈠紩鎿庣殑INDEX涓?br />STORM灝辨槸瀹屾垚榪欑宸ヤ綔鐨勩?/li></ol><br />HADOOP涓嶴TORM姣旇緝<br /><ol><li>鏁版嵁鏉ユ簮錛欻ADOOP鏄疕DFS涓婃煇涓枃浠跺す涓嬬殑鍙兘鏄垚TB鐨勬暟鎹紝STORM鏄疄鏃舵柊澧炵殑鏌愪竴絎旀暟鎹?/li><li>澶勭悊榪囩▼錛欻ADOOP鏄垎MAP闃舵鍒癛EDUCE闃舵錛孲TORM鏄敱鐢ㄦ埛瀹氫箟澶勭悊嫻佺▼錛?br />嫻佺▼涓彲浠ュ寘鍚涓楠わ紝姣忎釜姝ラ鍙互鏄暟鎹簮(SPOUT)鎴栧鐞嗛昏緫(BOLT)</li><li>鏄惁緇撴潫錛欻ADOOP鏈鍚庢槸瑕佺粨鏉熺殑錛孲TORM鏄病鏈夌粨鏉熺姸鎬侊紝鍒版渶鍚庝竴姝ユ椂錛屽氨鍋滃湪閭o紝鐩村埌鏈夋柊<br />鏁版嵁榪涘叆鏃跺啀浠庡ご寮濮?/li><li>澶勭悊閫熷害錛欻ADOOP鏄互澶勭悊HDFS涓婂ぇ閲忔暟鎹負鐩殑錛岄熷害鎱紝STORM鏄彧瑕佸鐞嗘柊澧炵殑鏌愪竴絎旀暟鎹嵆鍙?br />鍙互鍋氬埌寰堝揩銆?/li><li>閫傜敤鍦烘櫙錛欻ADOOP鏄湪瑕佸鐞嗕竴鎵規暟鎹椂鐢ㄧ殑錛屼笉璁茬┒鏃舵晥鎬э紝瑕佸鐞嗗氨鎻愪氦涓涓狫OB錛孲TORM鏄澶勭悊<br />鏌愪竴鏂板鏁版嵁鏃剁敤鐨勶紝瑕佽鏃舵晥鎬?br /></li><li>涓嶮Q瀵規瘮錛欻ADOOP娌℃湁瀵規瘮鎬э紝STORM鍙互鐪嬩綔鏄湁N涓楠わ紝姣忎釜姝ラ澶勭悊瀹屽氨鍚戜笅涓涓狹Q鍙戦佹秷鎭紝<br />鐩戝惉榪欎釜MQ鐨勬秷璐硅呯戶緇鐞?br /><br /></li></ol><img src ="http://m.tkk7.com/paulwong/aggbug/403824.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/paulwong/" target="_blank">paulwong</a> 2013-09-08 19:49 <a href="http://m.tkk7.com/paulwong/archive/2013/09/08/403824.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓轟粈涔?Storm 姣?Hadoop 蹇紵鏄敱鍝嚑涓柟闈㈠喅瀹氱殑錛?/title><link>http://m.tkk7.com/paulwong/archive/2013/09/08/403822.html</link><dc:creator>paulwong</dc:creator><author>paulwong</author><pubDate>Sun, 08 Sep 2013 10:12:00 GMT</pubDate><guid>http://m.tkk7.com/paulwong/archive/2013/09/08/403822.html</guid><wfw:comment>http://m.tkk7.com/paulwong/comments/403822.html</wfw:comment><comments>http://m.tkk7.com/paulwong/archive/2013/09/08/403822.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/paulwong/comments/commentRss/403822.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/paulwong/services/trackbacks/403822.html</trackback:ping><description><![CDATA[棣栧厛瑕佹槑鐧絊torm鍜孒adoop鐨勫簲鐢ㄩ鍩燂紝娉ㄦ剰鍔犵矖銆佹爣綰㈢殑鍏抽敭瀛椼?br /><br />Hadoop鏄熀浜嶮ap/Reduce妯″瀷鐨勶紝澶勭悊嫻烽噺鏁版嵁鐨勭綰垮垎鏋愬伐鍏楓?br />Storm鏄垎甯冨紡鐨勩佸疄鏃舵暟鎹祦鍒嗘瀽宸ュ叿錛屾暟鎹槸婧愭簮涓嶆柇浜х敓鐨勶紝渚嬪Twitter鐨凾imeline銆?br /><br />鍐嶅洖鍒頒綘璇寸殑閫熷害闂錛屽彧鑳借Storm鏇撮傜敤浜庡疄鏃舵暟鎹祦錛孧ap/Reduce妯″瀷鍦ㄥ疄鏃墮鍩熷緢闅炬湁鎵鍙戞尌錛屼笉鑳界畝鍗曠矖鏆寸殑璇磋皝蹇皝鎱€?br /><br /><hr /><br />榪欓噷鐨勫揩涓昏鏄寚鐨勬椂寤躲?br /><br />storm鐨勭綉緇滅洿浼犮佸唴瀛樿綆楋紝鍏舵椂寤跺繀鐒舵瘮hadoop鐨勯氳繃hdfs浼犺緭浣庡緱澶氾紱褰撹綆楁ā鍨嬫瘮杈冮傚悎嫻佸紡鏃訛紝storm鐨勬祦寮忓鐞嗭紝鐪佸幓浜嗘壒澶勭悊鐨勬敹闆嗘暟鎹殑鏃墮棿錛涘洜涓簊torm鏄湇鍔″瀷鐨勪綔涓氾紝涔熺渷鍘諱簡浣滀笟璋冨害鐨勬椂寤躲傛墍浠ヤ粠鏃跺歡涓婃潵鐪嬶紝storm瑕佸揩浜巋adoop銆?br /><br />璇翠竴涓吀鍨嬬殑鍦烘櫙錛屽嚑鍗冧釜鏃ュ織鐢熶駭鏂逛駭鐢熸棩蹇楁枃浠訛紝闇瑕佽繘琛屼竴浜汦TL鎿嶄綔瀛樺叆涓涓暟鎹簱銆?br /><br />鍋囪鍒╃敤hadoop錛屽垯闇瑕佸厛瀛樺叆hdfs錛屾寜姣忎竴鍒嗛挓鍒囦竴涓枃浠剁殑綺掑害鏉ョ畻錛堣繖涓矑搴﹀凡緇忔瀬绔殑緇嗕簡錛屽啀灝忕殑璇漢dfs涓婁細涓鍫嗗皬鏂囦歡錛夛紝hadoop寮濮嬭綆楁椂錛?鍒嗛挓宸茬粡榪囧幓浜嗭紝鐒跺悗鍐嶅紑濮嬭皟搴︿換鍔″張鑺變簡涓鍒嗛挓錛岀劧鍚庝綔涓氳繍琛岃搗鏉ワ紝鍋囪鏈哄櫒鐗瑰埆澶氾紝鍑犻挒閽熷氨綆楀畬浜嗭紝鐒跺悗鍐欐暟鎹簱鍋囪涔熻姳浜嗗緢灝戠殑鏃墮棿錛岃繖鏍鳳紝浠庢暟鎹駭鐢熷埌鏈鍚庡彲浠ヤ嬌鐢ㄥ凡緇忚繃鍘諱簡鑷沖皯涓ゅ垎澶氶挓銆?br /><br />鑰屾祦寮忚綆楀垯鏄暟鎹駭鐢熸椂錛屽垯鏈変竴涓▼搴忓幓涓鐩寸洃鎺ф棩蹇楃殑浜х敓錛屼駭鐢熶竴琛屽氨閫氳繃涓涓紶杈撶郴緇熷彂緇欐祦寮忚綆楃郴緇燂紝鐒跺悗嫻佸紡璁$畻緋葷粺鐩存帴澶勭悊錛屽鐞嗗畬涔嬪悗鐩存帴鍐欏叆鏁版嵁搴擄紝姣忔潯鏁版嵁浠庝駭鐢熷埌鍐欏叆鏁版嵁搴擄紝鍦ㄨ祫婧愬厖瓚蟲椂鍙互鍦ㄦ縐掔駭鍒畬鎴愩?br /><br /><br />褰撶劧錛岃窇涓涓ぇ鏂囦歡鐨剋ordcount錛屾湰鏉ュ氨鏄竴涓壒澶勭悊璁$畻鐨勬ā鍨嬶紝浣犻潪瑕佹妸瀹冩斁鍒皊torm涓婅繘琛屾祦寮忕殑澶勭悊錛岀劧鍚庡張闈炶璁╃瓑鎵鏈夊凡鏈夋暟鎹鐞嗗畬鎵嶈storm杈撳嚭緇撴灉錛岃繖鏃跺欙紝浣犲啀鎶婂畠鍜宧adoop姣旇緝蹇參錛岃繖鏃訛紝鍏跺疄姣旇緝鐨勪笉鏄椂寤訛紝鑰屾槸姣旇緝鐨勫悶鍚愪簡銆?br /><br /><hr /><br />Hadoop M/R鍩轟簬HDFS錛岄渶瑕佸垏鍒嗚緭鍏ユ暟鎹佷駭鐢熶腑闂存暟鎹枃浠躲佹帓搴忋佹暟鎹帇緙┿佸浠藉鍒剁瓑錛屾晥鐜囪緝浣庛?br /><br />Storm 鍩轟簬ZeroMQ榪欎釜楂樻ц兘鐨勬秷鎭氳搴擄紝涓嶆寔涔呭寲鏁版嵁銆?img src ="http://m.tkk7.com/paulwong/aggbug/403822.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/paulwong/" target="_blank">paulwong</a> 2013-09-08 18:12 <a href="http://m.tkk7.com/paulwong/archive/2013/09/08/403822.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>linkedin楂樺悶鍚愰噺鍒嗗竷寮忔秷鎭郴緇焝afka浣跨敤鎵嬭http://m.tkk7.com/paulwong/archive/2013/09/08/403821.htmlpaulwongpaulwongSun, 08 Sep 2013 09:32:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/08/403821.htmlhttp://m.tkk7.com/paulwong/comments/403821.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/08/403821.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/403821.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/403821.html
    閫氳繃O(1)鐨勭鐩樻暟鎹粨鏋勬彁渚涙秷鎭殑鎸佷箙鍖栵紝榪欑緇撴瀯瀵逛簬鍗充嬌鏁頒互TB鐨勬秷鎭瓨鍌ㄤ篃鑳藉淇濇寔闀挎椂闂寸殑紼沖畾鎬ц兘銆?br />楂樺悶鍚愰噺錛氬嵆浣挎槸闈炲父鏅氱殑紜歡kafka涔熷彲浠ユ敮鎸佹瘡縐掓暟鍗佷竾鐨勬秷鎭?br />鏀寔閫氳繃kafka鏈嶅姟鍣ㄥ拰娑堣垂鏈洪泦緹ゆ潵鍒嗗尯娑堟伅銆?br />鏀寔Hadoop騫惰鏁版嵁鍔犺澆銆?br />
    璁捐渚ч噸楂樺悶鍚愰噺錛岀敤浜庡ソ鍙嬪姩鎬侊紝鐩稿叧鎬х粺璁★紝鎺掕緇熻錛岃闂鐜囨帶鍒訛紝鎵瑰鐞嗙瓑緋葷粺銆傚ぇ閮ㄥ垎鐨勬秷鎭腑闂翠歡鑳藉澶勭悊瀹炴椂鎬ц姹傞珮鐨勬秷鎭?鏁版嵁錛屼絾鏄浜庨槦鍒椾腑澶ч噺鏈鐞嗙殑娑堟伅/鏁版嵁鍦ㄦ寔涔呮ф柟闈㈡瘮杈冨急銆?br />
    kakfa鐨刢onsumer浣跨敤鎷夌殑鏂瑰紡宸ヤ綔銆?br />

    瀹夎kafka
    涓嬭澆錛歨ttp://people.apache.org/~nehanarkhede/kafka-0.7.0-incubating/kafka-0.7.0-incubating-src.tar.gz

    > tar xzf kafka-.tgz
    > cd kafka-
    > ./sbt update
    > ./sbt package
    鍚姩zkserver:
    bin/zookeeper-server-start.sh config/zookeeper.properties
    鍚姩server:
    bin/kafka-server-start.sh config/server.properties
    灝辨槸榪欎箞綆鍗曘?br />

    浣跨敤kafka
    import java.util.Arrays;  
    import java.util.List;  
    import java.util.Properties;  
    import kafka.javaapi.producer.SyncProducer;  
    import kafka.javaapi.message.ByteBufferMessageSet;  
    import kafka.message.Message;  
    import kafka.producer.SyncProducerConfig;  
      
      
      
    Properties props = new Properties();  
    props.put(“zk.connect”, “127.0.0.1:2181”);  
    props.put("serializer.class", "kafka.serializer.StringEncoder");  
    ProducerConfig config = new ProducerConfig(props);  
    Producer<String, String> producer = new Producer<String, String>(config);  
      
    Send a single message  
      
    // The message is sent to a randomly selected partition registered in ZK  
    ProducerData<String, String> data = new ProducerData<String, String>("test-topic", "test-message");  
    producer.send(data);      
      
    producer.close();  


    榪欐牱灝辨槸涓涓爣鍑嗙殑producer銆?br />
    consumer鐨勪唬鐮?br />
    // specify some consumer properties  
    Properties props = new Properties();  
    props.put("zk.connect", "localhost:2181");  
    props.put("zk.connectiontimeout.ms", "1000000");  
    props.put("groupid", "test_group");  
      
    // Create the connection to the cluster  
    ConsumerConfig consumerConfig = new ConsumerConfig(props);  
    ConsumerConnector consumerConnector = Consumer.createJavaConsumerConnector(consumerConfig);  
      
    // create 4 partitions of the stream for topic “test”, to allow 4 threads to consume  
    Map<String, List<KafkaMessageStream<Message>>> topicMessageStreams =   
        consumerConnector.createMessageStreams(ImmutableMap.of("test", 4));  
    List<KafkaMessageStream<Message>> streams = topicMessageStreams.get("test");  
      
    // create list of 4 threads to consume from each of the partitions   
    ExecutorService executor = Executors.newFixedThreadPool(4);  
      
    // consume the messages in the threads  
    for(final KafkaMessageStream<Message> stream: streams) {  
      executor.submit(new Runnable() {  
        public void run() {  
          for(Message message: stream) {  
            // process message  
          }   
        }  
      });  
    }  







    paulwong 2013-09-08 17:32 鍙戣〃璇勮
    ]]>
    LOG ANALYST BIG DATA SYSTEM璧勬簮http://m.tkk7.com/paulwong/archive/2013/09/08/403819.htmlpaulwongpaulwongSun, 08 Sep 2013 08:21:00 GMThttp://m.tkk7.com/paulwong/archive/2013/09/08/403819.htmlhttp://m.tkk7.com/paulwong/comments/403819.htmlhttp://m.tkk7.com/paulwong/archive/2013/09/08/403819.html#Feedback0http://m.tkk7.com/paulwong/comments/commentRss/403819.htmlhttp://m.tkk7.com/paulwong/services/trackbacks/403819.html

    apache kafka鍦ㄦ暟鎹鐞嗕腑鐗瑰埆鏄棩蹇楀拰娑堟伅鐨勫鐞嗕笂浼氭湁寰堝鍑鴻壊鐨勮〃鐜幫紝榪欓噷鍐欎釜绱㈠紩錛屽叧浜巏afka鐨勬枃绔犳殏鏃跺氨鏇存柊鍒拌繖閲岋紝鏈榪戝埄鐢ㄧ┖闂叉椂闂村湪瀵筴afka鍋氫竴浜涘姛鑳芥у寮猴紝騫秊ava鍖栵紝铏界劧鐜板湪宸茬粡鏈夊緢澶氳繖鏍風殑鐗堟湰錛屼絾鏄牴鎹疄闄呴渶姹傛潵鏀瑰彉鎵嶆槸鏈閫傚悎鐨勩?/p>

    棣栧厛褰撶劧鎺ㄨ崘鐨勬槸kafka鐨勫畼緗?nbsp;http://kafka.apache.org/ 

    鍦ㄥ畼緗戞渶鍊煎緱鍙傝冪殑鏂囩珷灝辨槸kafka design錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">http://kafka.apache.org/design.html錛屾垜鐨勬枃绔犱篃鍩烘湰閮芥槸鍙傜収榪欓噷鐨勮鏄庯紝澶у瑕佺壒鍒噸瑙嗚繖綃囨枃绔狅紝閲岄潰鏈夊ソ澶氱悊蹇甸兘鐗瑰埆濂斤紝鎺ㄨ崘澶氳鍑犻亶銆?/p>

    鍦∣SC鐨勭炕璇戦閬撴湁kafka design鍏ㄤ腑鏂囩殑緲昏瘧錛岀炕寰楁尯濂界殑錛屾帹鑽愪竴涓嬶細http://www.oschina.net/translate/kafka-design

    kafka鐨剋iki鏄緢涓嶉敊鐨勫涔犳枃妗o細https://cwiki.apache.org/confluence/display/KAFKA/Index

    ——————————————————————————————————

    鎺ヤ笅鏉ュ氨鏄垜鍐欑殑涓緋誨垪鏂囩珷錛屾枃绔犻兘鏄驚搴忔笎榪涚殑鏂瑰紡甯︿綘浜嗚Вkafka錛?/p>

    鍏充簬kafka鐨勫熀鏈煡璇嗭紝鍒嗗竷寮忕殑鍩虹錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆婂垎甯冨紡娑堟伅緋葷粺Kafka鍒濇銆?/a>

    kafka鐨勫垎甯冨紡鎼緩錛宷uick start錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆妅afka鍒嗗竷寮忕幆澧冩惌寤恒?/a>

    鍏充簬kafka鐨勫疄鐜扮粏鑺傦紝榪欎富瑕佸氨鏄design鐨勯儴鍒嗭細銆婄粏鑺備笂銆?/a>銆?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆婄粏鑺備笅銆?/a>

    鍏充簬kafka寮鍙戠幆澧冿紝scala鐜鐨勬惌寤猴細銆婂紑鍙戠幆澧冩惌寤恒?/a>

    鏁版嵁鐢熶駭鑰咃紝producer鐨勭敤娉曪細銆妏roducer鐨勭敤娉曘?/a>銆?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆妏roducer浣跨敤娉ㄦ剰銆?/a>

    鏁版嵁娑堣垂鑰咃紝consumer鐨勭敤娉曪細銆奵onsumer鐨勭敤娉曘?/a>

    榪樻湁浜涢浂紕庣殑錛屽叧浜庨氫俊孌電殑婧愮爜瑙h錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆妌et鍖呮簮鐮佽В璇匯?/a>銆?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆奲roker閰嶇疆銆?/a>

    ——————————————————————————————————

    鎵╁睍鐨勯槄璇昏繕鏈変笅闈㈣繖浜涳細

    鎴戠殑濂藉弸鍐欑殑鍏充簬kafka鍜宩afka鐨勭浉鍏沖崥瀹紝鐗瑰埆濂斤紝鎴戞湁寰堝闂涔熼兘鎵句粬瑙e喅鐨勶紝澶х涓鑸殑瀛樺湪錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">http://rockybean.github.com/   @rockybean

    kafka鐨刯ava鍖栫増鏈琷afka錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">https://github.com/adyliu/jafka

    娣樺疂鐨刴etaQ錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">https://github.com/killme2008/Metamorphosis

    鎴戞渶榪戝湪鍐欑殑inforQ錛屽垰寮濮嬪啓錛屾垜涔熺函綺規槸涓轟簡璇諱笅婧愮爜錛屼笉瀹氭湡鏇存柊鍝堬細https://github.com/ielts0909/inforq

    鍚庨潰涓闃舵鍙兘鏇存柊鐐瑰効鍏充簬cas鐨勪笢瑗垮惂錛屽叿浣撲篃娌℃兂濂斤紝鏈榪戜竴鐩村嚭宸紝鍐欎唬鐮佺殑鏃墮棿閮藉緢灝?/p>

    --------------------------------------------------------------------------------

    0.8鐗堟湰鐨勭浉鍏蟲洿鏂板涓嬶細

    0.8鏇存柊鍐呭浠嬬粛錛?a target="_blank" rel="nofollow" style="padding: 0px; margin: 0px; color: #0072bb; outline: 0px;">銆妅afka0.8鐗堟湰鐨勪竴浜涙洿鏂般?/a>



    paulwong 2013-09-08 16:21 鍙戣〃璇勮
    ]]>
    主站蜘蛛池模板: 国产亚洲视频在线观看| 亚洲AV无码精品国产成人| 久久精品亚洲中文字幕无码麻豆| 亚洲视频国产视频| 亚洲va中文字幕| 国产免费高清69式视频在线观看| 国产精品99精品久久免费| 午夜电影免费观看| 亚洲中文字幕无码一区二区三区 | 人妻无码久久一区二区三区免费| 1000部羞羞禁止免费观看视频| 韩国免费三片在线视频| 亚洲AV成人一区二区三区AV| 亚洲.国产.欧美一区二区三区| 日韩免费视频观看| 亚洲国产av美女网站| 两个人的视频www免费| 日本免费高清一本视频| 老湿机一区午夜精品免费福利| 成人免费AA片在线观看| 亚洲精品高清无码视频| 免费VA在线观看无码| 免费可以看黄的视频s色| 亚洲成av人在线视| 一级毛片在播放免费| 好大好深好猛好爽视频免费| 成人婷婷网色偷偷亚洲男人的天堂| 成人免费观看一区二区| 亚洲视频免费在线看| 日韩高清免费观看| XXX2高清在线观看免费视频| 亚洲综合网美国十次| 无码人妻一区二区三区免费看| 中文字幕在亚洲第一在线| 免费激情网站国产高清第一页| 亚洲人色婷婷成人网站在线观看| 国产精品hd免费观看| 亚洲精品国精品久久99热| 久久精品国产亚洲AV未满十八| 亚洲人成中文字幕在线观看 | 国产男女猛烈无遮档免费视频网站|