Spring for Apache Kafka 1.0 Candidate 1 发布 - 开源中国社区
Spring for Apache Kafka 1.0 Candidate 1 发布
oschina 2016年06月08日

Spring for Apache Kafka 1.0 Candidate 1 发布

oschina oschina 发布于2016年06月08日 收藏 17 评论 5

阿里云高性能云服务器,2折起! >>> >>>  

Spring for Apache Kafka 1.0 Candidate 1 发布了,以下是本次发布值得关注的内容:

  • A ConsumerRebalanceListener can be injected into the MessageListenerContainer;

  • The KafkaConsumer and KafkaProducer can be customized with (De)Serializer s for key and value in the ConsumerFactory and ProducerFactory, respectively; this is an alternative to configuring using the properties.

  • JsonSerializer and JsonDeserializer s are provided, based on the Jackson library;

  • A RecordFilterStrategy and the FilteringMessageListenerAdapter are provided to allow skipping records or dealing with duplicate deliveries;

  • A self-explanatory RetryingMessageListenerAdapter is provided;

  • A ListenerContainerIdleEvent is emitted, after a configurable time, when the MessageListenerContainer has moved to an idle state;

  • TopicPartitionInitialOffset is provided to allow configuring the MessageListenerContainer to be assigned to specific partitions in the topic(s) and, optionally, seek to the desired offset when starting;

  • The @KafkaListener 's @TopicPartition attribute is enhanced with the @PartitionOffset property for initial offset configuration;

  • Improvements for consumer rebalance events.

了解更多信息,可参看发布说明

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Spring for Apache Kafka 1.0 Candidate 1 发布
分享
评论(5)
最新评论
0

引用来自“引鸩怼孑”的评论

现在是不是只要数量 不要质量了?@红薯
0
现在是不是只要数量 不要质量了?@红薯
0
顶部