Java Weekly, Issue 512 – Java Weekly》第 512 期

最后修改: 2023年 10月 20日

中文/混合/英文(键盘快捷键:t)

1. Spring and Java

1. Spring 和 Java

>> Transactional Rollback Strategies with Spring Cloud Stream and Apache Kafka [spring.io]

>> 使用 Spring Cloud Stream 和 Apache Kafka 的事务回滚策略 [spring.io] </p

Transactions in distributed systems are hard, but Spring has some tooling to help us with them.

分布式系统中的事务很难处理,但 Spring 提供了一些工具来帮助我们处理这些事务。

>> Apache Kafka’s Exactly-Once Semantics in Spring Cloud Stream Kafka Applications [spring.io]

>> Spring Cloud Stream Kafka 应用程序中的 Apache Kafka 精确一次性语义 [spring.io] </p

Kafka “broke” the rules of physics and enabled the exactly-once semantics – let’s see how to leverage it in Spring.

Kafka “打破 “了物理规则,启用了精确一次性语义,让我们看看如何在 Spring 中利用它。

>> Support Markdown in javadoc Comments [inside.java]

>> 在 javadoc 注释中支持 Markdown [inside.java] </p

The Java team is researching enabling Markdown inside Javadoc comments… the future is almost here 🙂

Java 团队正在研究在 Javadoc 注释中启用 Markdown 功能……未来即将到来 🙂

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade: 

是时候升级了:

2. Technical & Musings

2.技术与思考

>> One does not simply deliver software [benjiweber.co.uk]

>> 一个人不能简单地交付软件 [benjiweber.co.uk] 。

“Delivery” is not the best word to describe software production.

“交付 “并不是描述软件生产的最佳词汇。

This should be viewed more as a process of exploration and learning, emphasizing the need for adaptability, experimentation, and continuous improvement rather than strict adherence to predetermined plans and routes.

这应更多地被视为一个探索和学习的过程,强调的是适应性、实验和持续改进的必要性,而不是严格遵守预定的计划和路线。

>> Internal and external events, or how to design event-driven API [event-driven.io]

>> 内部和外部事件,或如何设计事件驱动的 API [event-driven.io] </p

It’s crucial to differentiate between internal and external events to avoid issues such as leaking abstractions and coupling.

区分内部事件和外部事件对于避免抽象泄漏和耦合等问题至关重要。

Also worth reading:

还值得一读:

3. Pick of the Week

3.本周精选

>> Strong static typing, a hill I’m willing to die on… [svix.com]

>>强大的静态键入,一座我愿意为之牺牲的山丘…… [svix.com]

Next »

Java Weekly, Issue 513

« Previous

Java Weekly, Issue 511