摘要:
Kafka auto.offset.reset值详解 发表于2017/7/6 11:25:22 1010人阅读 分类: Kafka 昨天在写一个java消费kafka数据的实例,明明设置auto.offset.reset为earliest,但还是不从头开始消费,官网给出的含义太抽象了。 earlie 阅读全文
posted @ 2017-08-28 17:12
牵牛花
阅读(1791)
评论(0)
推荐(0)
摘要:
4.6 Message Delivery Semantics Now that we understand a little about how producers and consumers work, let's discuss the semantic guarantees Kafka pro 阅读全文
posted @ 2017-08-28 15:42
牵牛花
阅读(335)
评论(0)
推荐(0)
摘要:
SimpleDateFormat的线程安全问题与解决方案 总结,当sdf为static的时候,多个对象共享一个sdf的变量,sdf 的parse方法执行的时候里面记录值得 在线程内部是顺序执行的,所有一个线程里面使用一个sdf不存在线程会被另一个线程影响的问题 阅读全文
posted @ 2017-08-28 14:29
牵牛花
阅读(762)
评论(0)
推荐(0)
摘要:
https://leocook.gitbooks.io/java-nio-programming-guide/content/ 阅读全文
posted @ 2017-08-28 14:21
牵牛花
阅读(173)
评论(0)
推荐(0)