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 via KafkaNull 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 the metrics and partitionsFor methods on the Producer.
软件详情:https://spring.io/blog/2016/09/19/spring-for-apache-kafka-1-1-ga-and-spring-integration-kafka-2-1-ga-are-available
下载地址:https://github.com/spring-projects/spring-kafka/archive/v1.1.0.RELEASE.zip
来自:开源中国社区

