对于kafka的consumer接口,提供两种版本, high-level 一种high-level版本,比较简单不用关心offset, 会自动的读zookeeper中该Consumer group的last offset 参考,https://cwiki.apache.org/confluence...
分类:
其他好文 时间:
2014-06-28 22:39:15
阅读次数:
1224
参考, https://cwiki.apache.org/confluence/display/KAFKA/System+Tools https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools http://kafka.ap...
分类:
其他好文 时间:
2014-06-28 22:01:55
阅读次数:
637
安装前准备工作:[root@bogon src]# yum -y install bison bison-devel ncurses ncurses-devel openssl openssl-develcmake下载安装http://www.cmake.org/files/v2.8/cmake-2...
分类:
数据库 时间:
2014-06-21 13:46:44
阅读次数:
188
我们常常在使用网上银行时看到的连接都是以“https”开始的,那么这个https是什么呢?这其实是表示目前连接使用了SSL进行加密,能保证客户端到服务器端的通信都在被保护起来,那么浏览器是如果实现的呢?下面让我们来介绍一下SSL基本的实现方法。首先我们有两种基本的加解密算法类型:对称加密,非对称加密...
分类:
其他好文 时间:
2014-06-21 06:51:56
阅读次数:
277
uvaLive4255:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=25&page=show_problem&problem=2256题意:对于一个序列,我们可以计算出一个...
分类:
其他好文 时间:
2014-06-21 00:27:39
阅读次数:
284
Fastjson,是阿里巴巴提供的一个Java语言编写的高性能功能完善的JSON库。其开源的下载网址为:https://github.com/AlibabaTech/fastjson。示例代码如下:[java]view plaincopypackagetest;importjava.util.Arr...
分类:
Web程序 时间:
2014-06-20 20:55:25
阅读次数:
199
东西都上传到这里了:https://github.com/RexKang/Zabbix/tree/master/OS/Linux-disk-discovery 需要用到的东西:Zabbix的LLD:https://www.zabbix.com/documentation/2.0/manual/dis...
分类:
系统相关 时间:
2014-06-20 19:30:34
阅读次数:
393
最近项目需要,想要测试下MongoDB读写大量小图片的速度(单纯文件系统io效率比较低,想试试NoSQL能不能提速), 因为使用C++开发,所以使用MongoDB的CXX驱动,需要自己编译,下面记录整个编译过程CXX Driver下载从Github的MongoDB官方源中下载https://gith...
分类:
数据库 时间:
2014-06-20 19:20:58
阅读次数:
302
一,查看版本[root@host02 ~]# ssh -VOpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 表明该系统正在使用OpenSSHssh -V ssh: SSH Secure Shell 3.2.9.1 (non-commercial ve...
分类:
系统相关 时间:
2014-06-20 19:18:13
阅读次数:
396
os apns-apple notification server 与第三方provider的通信原理网上已有很多介绍,这里不再介绍,有想了解的大家可以去IOS官网https://developer.apple.com/library/ios/documentation/NetworkingInte...
分类:
移动开发 时间:
2014-06-20 16:49:57
阅读次数:
296