摘要: KafkaProducer 1.send方法 kafkaProducer端由两部分组成,一个为RecordAccumulator,一个是Sender,Sender实现Runnable,是一个后台线程. 用户调用producer发送消息是与RecordAccumulator进行交互.RecordAcc 阅读全文
posted @ 2017-08-08 22:09 三美元 阅读(203) 评论(0) 推荐(0)
摘要: 1.spring容器 spring mvc容器和spring 容器是两个不同的容器,一般在web项目中两个容器Spring application context 和 Spring webapplication context。分别对应两个配置文件applicationContext.xml 和 { 阅读全文
posted @ 2017-08-08 13:35 三美元 阅读(121) 评论(0) 推荐(0)
摘要: 转载 http://aub.iteye.com/blog/1103685 阅读全文
posted @ 2017-08-08 11:31 三美元 阅读(3632) 评论(0) 推荐(0)