摘要: Kafka 入门 什么是 Kafka kafka最初是 LinkedIn 的一个内部基础设施系统。最初开发的起因是,LinkedIn虽然有了数据库和其他系统可以用来存储数据,但是缺乏一个可以帮助处理持续数据流的组件。所以在设计理念上,开发者不想只是开发一个能够存储数据的系统,如关系数据库、Nosql 阅读全文
posted @ 2019-10-11 22:27 SoyWang 阅读(638) 评论(0) 推荐(0) 编辑
摘要: System.out.println(System.getProperty("user.dir"));//当前工作空间 System.out.println(Platform.getInstanceLocation().getURL().getPath());//当前运行空间 阅读全文
posted @ 2019-10-11 14:58 SoyWang 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 1.Axis2方式 Axis是apache下一个开源的webservice开发组件,出现的算是比较早了,也比较成熟。这里主要介绍Axis+eclipse开发webservice,当然不用eclipse也可以开发和发布webservice,只是用eclipse会比较方便。 (1)下载eclipse的J 阅读全文
posted @ 2019-10-11 14:48 SoyWang 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: public class TestProperties { /** * * @Title: printAllProperty * @Description: 输出所有配置信息 * @param props * @return void * @throws */ private static void 阅读全文
posted @ 2019-10-11 14:44 SoyWang 阅读(722) 评论(0) 推荐(0) 编辑
摘要: String[] str1 = {"Hello","world","java"}; String[] str2 = {"Veriable","syntax","interator"}; int str1Length = str1.length; int str2length = str2.length; str1 = Arrays.copyOf(str1, str1Length+str2lengt 阅读全文
posted @ 2019-10-11 14:43 SoyWang 阅读(105) 评论(0) 推荐(0) 编辑