内容简介:Spring for Apache Kafka 2.2更新亮点:有关更多信息,请参阅文档中的
Spring for Apache Kafka 2.2 发布了 ,虽然 2.1.x 版本与 2.0.0 kafka-clients jar 相兼容(自 2.1.9 起),但此版本要求 2.0.0(并提供 2.0.0 嵌入式代理以进行测试)。
更新亮点:
-
The
SeekToCurrentErrorHandlercan now "skip" records that fail repeatedly -
Such "skipped" records can be published to a dead-letter topic (or otherwise disposed of by application code)
-
Headers are added with diagnostics about the failure
-
When using transactions, the same functionality can be achieved with the default
AfterRollbackProcessor -
You can now use the listener container factory to create any arbitrary listener container, not just containers for
@KafkaListeners -
This allows more convenient use of Spring Boot’s auto configuration properties for any container
-
@KafkaListenerannotations can now override the container factory’sconcurrencyandautoStartupproperties -
The new
ErrorhandlingDeserializercan catch deserialization exceptions which are then routed to theErrorHandler -
The embedded kafka broker can now be used with JUnit 5 tests
有关更多信息,请参阅文档中的 “新增内容” 一章和 更新日志 。
此外,Spring Integration for Apache Kafka (spring-integration-kafka) 3.1.0.RELEASE 也已发布,它基于 Spring for Apache Kafka 2.2 和 Spring Integration 5.1。
Spring for Apache Kafka (spring-kafka) 项目将核心 Spring 概念应用于基于 Kafka 的消息传递解决方案。它提供了一个“模板”作为发送消息的高级抽象。它还为带有 @KafkaListener 注解和“侦听器容器(listener container)”的消息驱动的 POJO 提供支持。这些库促进了依赖注入和声明的使用。在所有这些情况下,您将看到 Spring Framework 中的 JMS 支持和 Spring AMQP 中的 RabbitMQ 支持的相似之处。
以上所述就是小编给大家介绍的《Spring for Apache Kafka 2.2 发布》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:- NPM包(模块)发布、更新、撤销发布
- 有赞灰度发布与蓝绿发布实践
- 【重磅发布】Linkis 0.10.0 版本发布
- BeetlSQL 3.0.9 发布,Idea 插件发布
- 贝密游戏 0.7.0 发布,发布斗地主
- 【重磅发布】DataSphere Studio 0.9.0 版本发布
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
算法设计与实验题解
王晓东 / 电子工业 / 2006-9 / 46.00元
《算法设计与实验题解》是与普通高等教育“十一五”国家级规划教材《计算机算法设计与分析》(第2版)配套的辅助教材,对主教材中的全部习题做了解答或给出了解题思路提示,并对主教材的内容进行了扩展,有些主教材中无法讲述的较深入的主题以习题的形式展现出来。为了提高学生解决实际问题的能力,《算法设计与实验题解》还将主教材中的许多习题改造成算法实现题,要求学生设计出算法并上机实现。作者还结合精品课程建设,进行了......一起来看看 《算法设计与实验题解》 这本书的介绍吧!