Spring for Apache Kafka 1.1 GA 发布了,与先前的 Milestone 2 相比没有太多的变化,下面是更新内容:
Apache Kafka
0.10
upgrade;The batch of messages support via
BatchMessageListener
as well as via@KafkaListener
annotation configuration;The
null payload
concept support viaKafkaNull
placeholder object;You can now perform seek operations from the listener - this allows setting an initial offset when partitions are assigned by Kafka when using group management. You can also perform arbitrary seek operations after initialization;
Allow setting the initial offset to be relative to the current offset;
The
KafkaTemplate
now provides access to themetrics
andpartitionsFor
methods on theProducer
.
点击这里查看详细发行说明
下载地址: