随笔 - 835  文章 - 1 评论 - 40 阅读 - 102万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

11 2020 档案
SpringBoot WebSocket实现前后端交互 (转) websocket
摘要:原文:https://www.cnblogs.com/xiaozhengtongxue/p/13448778.html 亦可参考:https://blog.csdn.net/qq_28410283/article/details/116378711 (推荐) https://www.cnblogs. 阅读全文
posted @ 2020-11-27 13:44 lshan 阅读(1992) 评论(0) 推荐(1) 编辑
sparkStreming kafka offset 管理
摘要:Direct Approach (No Receivers) 简化的并行性:不需要创建多个输入Kafka流并将其合并。 使用directStream,Spark Streaming将创建 与使用Kafka分区一样多的RDD分区,这些分区将全部从Kafka并行读取数据。 所以在Kafka和RDD分 区 阅读全文
posted @ 2020-11-17 12:37 lshan 阅读(178) 评论(0) 推荐(0) 编辑
kafka scala API
摘要:scala kafka api test 依赖: <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.11</artifactId> <version>1.1.0</version> </dependency> b 阅读全文
posted @ 2020-11-16 11:38 lshan 阅读(364) 评论(0) 推荐(0) 编辑
spark hive 小结
摘要:依赖: <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-hive --> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-hive_2. 阅读全文
posted @ 2020-11-12 15:25 lshan 阅读(661) 评论(0) 推荐(0) 编辑
spark 通过隐式值排序 Ordering.on &元组的封装
摘要:方式1 :隐式值 (remark:隐式 调用 顺序 隐式Object > 隐式值> 隐式函数> 隐式方法) def main(args: Array[String]): Unit = { val sparkConf = new SparkConf().setMaster("local[2]").se 阅读全文
posted @ 2020-11-06 15:28 lshan 阅读(215) 评论(0) 推荐(0) 编辑
springboot 多数据源(2)使用 Mongorepository
摘要:原文:https://blog.csdn.net/qq_35418518/article/details/107411512?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.chan 阅读全文
posted @ 2020-11-04 12:12 lshan 阅读(993) 评论(0) 推荐(0) 编辑
List复制:浅拷贝与深拷贝
摘要:原文地址: https://blog.csdn.net/demonliuhui/article/details/54572908 List浅拷贝 众所周知,list本质上是数组,而数组的是以地址的形式进行存储。 如上图将list A浅拷贝给list B,由于进行的是浅拷贝,所以直接将A的内容复制给了 阅读全文
posted @ 2020-11-02 10:55 lshan 阅读(412) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示