文章
记一次 Kafka 重启失败问题排查
背景在2月10号下午大概1点半左右,收到用户方反馈,发现日志kafka集群A主题的34分区选举不了leader,导致某些消息发送到该分区时,会报如下noleader的错误信息:Inthemiddleofaleadershipelection
debug Scala xml handling by SAXParser
CreatedbyWang,Jerry,lastmodifiedonSep24,2015!clipboard1.png(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/761e313313a2adc0
App in Scala
CreatedbyWang,JerryonSep25,2015application里一个objectextend了一个App:!(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/1057dfce9
Scala中的getter和setter
CreatedbyWang,Jerry,lastmodifiedonSep25,2015testsourcecode:<pre<code/2015091415:36PM/packagetest{classCounter{
An example of parsing xml file using Scala
CreatedbyWang,Jerry,lastmodifiedonSep24,2015!clipboard1.png(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/c752e93ff24c4f1d
Scala语言编译之后生成的Java代码解读
CreatedbyWang,JerryonOct08,2015看个Scala的例子:<pre<codepackagemethod/@authorI042416/classbooleaMethod{privatevarfirs
Scala学习笔记:how to convert a StringRDD to Array
!clipboard1.png(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/656385f78a456e1e6c74ff70cd07f21f.png)!clipboard2.png(https://imghello
Scala闭包特性的一个测试
CreatedbyWang,Jerry,lastmodifiedonDec14,2015!clipboard1.png(https://imghelloworld.osscnbeijing.aliyuncs.com/imgs/f117a394998e8645
sbt换源,解决速度慢的问题
网上的很多教程都有问题,我这里将官方文档(https://link.segmentfault.com/?enckx%2Bb7Sq%2B%2FcKNy80WNeJbRw%3D%3D.IO9A6Ayzqxn5Y0rKOk7ffsQrt1bWMwEXfvhNKkguj%2FNPsIP62GQ0UqG
Scala的Higher-Kinded类型
Scala的HigherKinded类型HigherKinded从字面意思上看是更高级的分类,也就是更高一级的抽象。我们先看个例子。如果我们要在scala中实现一个对SeqInt的sum方法,应该怎么做呢?<pre<codedefsum(seq:SeqInt):I
已加载文章中没有匹配内容,试试其他关键词或清空搜索。