文件名称:KafkaDemo
介绍说明--下载内容来自于网络,使用问题请自行百度
Kafka是一个高吞吐量分布式消息系统。linkedin开源的kafka。 Kafka就跟这个名字一样,设计非常独特。首先,kafka的开发者们认为不需要在内存里缓存什么数据,操作系统的文件缓存已经足够完善和强大,只要你不搞随机写,顺序读写的性能是非常高效的。kafka的数据只会顺序append,数据的删除策略是累积到一定程度或者超过一定时间再删除。Kafka另一个独特的地方是将消费者信息保存在客户端而不是MQ服务器,这样服务器就不用记录消息的投递过程,每个客户端都自己知道自己下一次应该从什么地方什么位置读取消息,消息的投递过程也是采用客户端主动pull的模型,这样大大减轻了服务器的负担。Kafka还强调减少数据的序列化和拷贝开销,它会将一些消息组织成Message Set做批量存储和发送,并且客户端在pull数据的时候,尽量以zero-copy的方式传输,利用sendfile(对应java里的 FileChannel.transferTo/transferFrom)这样的高级IO函数来减少拷贝开销。可见,kafka是一个精心设计,特定于某些应用的MQ系统,这种偏向特定领域的MQ系统我估计会越来越多,垂直化的产品策略值的考虑。-Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
KafkaDemo/
KafkaDemo/.classpath
KafkaDemo/.project
KafkaDemo/.settings/
KafkaDemo/.settings/org.eclipse.jdt.core.prefs
KafkaDemo/bin/
KafkaDemo/bin/com/
KafkaDemo/bin/com/ccssoft/
KafkaDemo/bin/com/ccssoft/kafa/
KafkaDemo/bin/com/ccssoft/kafa/producer/
KafkaDemo/bin/com/ccssoft/kafa/producer/ProducerSample.class
KafkaDemo/bin/com/ccssoft/kafka/
KafkaDemo/bin/com/ccssoft/kafka/consumer/
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$1.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$MessageExecutor.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$MessageRunner.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample.class
KafkaDemo/bin/consumer.properties
KafkaDemo/bin/producer.properties
KafkaDemo/lib/
KafkaDemo/lib/jopt-simple-3.2.jar
KafkaDemo/lib/kafka_2.10-0.8.1.1.jar
KafkaDemo/lib/log4j-1.2.15.jar
KafkaDemo/lib/metrics-core-2.2.0.jar
KafkaDemo/lib/scala-library-2.10.1.jar
KafkaDemo/lib/slf4j-api-1.7.2.jar
KafkaDemo/lib/snappy-java-1.0.5.jar
KafkaDemo/lib/zkclient-0.3.jar
KafkaDemo/lib/zookeeper-3.3.4.jar
KafkaDemo/src/
KafkaDemo/src/com/
KafkaDemo/src/com/ccssoft/
KafkaDemo/src/com/ccssoft/kafa/
KafkaDemo/src/com/ccssoft/kafa/producer/
KafkaDemo/src/com/ccssoft/kafa/producer/ProducerSample.java
KafkaDemo/src/com/ccssoft/kafka/
KafkaDemo/src/com/ccssoft/kafka/consumer/
KafkaDemo/src/com/ccssoft/kafka/consumer/ConsumerSample.java
KafkaDemo/src/consumer.properties
KafkaDemo/src/producer.properties
KafkaDemo/.classpath
KafkaDemo/.project
KafkaDemo/.settings/
KafkaDemo/.settings/org.eclipse.jdt.core.prefs
KafkaDemo/bin/
KafkaDemo/bin/com/
KafkaDemo/bin/com/ccssoft/
KafkaDemo/bin/com/ccssoft/kafa/
KafkaDemo/bin/com/ccssoft/kafa/producer/
KafkaDemo/bin/com/ccssoft/kafa/producer/ProducerSample.class
KafkaDemo/bin/com/ccssoft/kafka/
KafkaDemo/bin/com/ccssoft/kafka/consumer/
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$1.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$MessageExecutor.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample$MessageRunner.class
KafkaDemo/bin/com/ccssoft/kafka/consumer/ConsumerSample.class
KafkaDemo/bin/consumer.properties
KafkaDemo/bin/producer.properties
KafkaDemo/lib/
KafkaDemo/lib/jopt-simple-3.2.jar
KafkaDemo/lib/kafka_2.10-0.8.1.1.jar
KafkaDemo/lib/log4j-1.2.15.jar
KafkaDemo/lib/metrics-core-2.2.0.jar
KafkaDemo/lib/scala-library-2.10.1.jar
KafkaDemo/lib/slf4j-api-1.7.2.jar
KafkaDemo/lib/snappy-java-1.0.5.jar
KafkaDemo/lib/zkclient-0.3.jar
KafkaDemo/lib/zookeeper-3.3.4.jar
KafkaDemo/src/
KafkaDemo/src/com/
KafkaDemo/src/com/ccssoft/
KafkaDemo/src/com/ccssoft/kafa/
KafkaDemo/src/com/ccssoft/kafa/producer/
KafkaDemo/src/com/ccssoft/kafa/producer/ProducerSample.java
KafkaDemo/src/com/ccssoft/kafka/
KafkaDemo/src/com/ccssoft/kafka/consumer/
KafkaDemo/src/com/ccssoft/kafka/consumer/ConsumerSample.java
KafkaDemo/src/consumer.properties
KafkaDemo/src/producer.properties
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.