摘要: Pom: JavaCode: 阅读全文
posted @ 2018-11-22 16:50 夢見貓、 阅读(330) 评论(0) 推荐(0) 编辑
摘要: pom文件: Java代码: 阅读全文
posted @ 2018-11-22 16:24 夢見貓、 阅读(2600) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { String path1 = System.getProperty("user.home");//当前登录用户目录 String path2 = System.getProperty("user.dir");//jar包所在目录名 System.out.println(path1+"=="+... 阅读全文
posted @ 2018-11-22 16:10 夢見貓、 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: 插件安装方法: 1. Darkest Dark Theme with DevStyle --> 最完美的黑色主题.安装后可以在Preferences->DevStyle设置: 2. Subversive - SVN Team Provider --> svn 不解释 3.MiniMap 可以在sho 阅读全文
posted @ 2018-11-22 15:50 夢見貓、 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 一.Mapper和Scheme scheme:将kafka传到spout里的数据格式进行转化. record->tuple mapper:将storm传到kafka的数据格式进行转化.tuple->record 二.为什么要自定义消息格式 在很多需求里, 从kafka传递过来的数据并不是单纯的str 阅读全文
posted @ 2018-11-22 15:44 夢見貓、 阅读(859) 评论(0) 推荐(0) 编辑