Yoann CAPLAIN (@YoannCaplain) profile picture

All about #Kotlin, #Java, #Spring, #JavaFx, #Scala, #maven. Creator of https://xitter.gq/t.co/qll4j29CXt… https://xitter.gq/t.co/9xhawcttkx

Beijing
Joined October 2017
Photo by Yoann CAPLAIN (@YoannCaplain)Photo by Yoann CAPLAIN (@YoannCaplain)Photo by Yoann CAPLAIN (@YoannCaplain)Photo by Yoann CAPLAIN (@YoannCaplain)Photo by Yoann CAPLAIN (@YoannCaplain)Photo by Yoann CAPLAIN (@YoannCaplain)
💡 Mockito Tip: when the result of the mocked method is dynamic and depends on the method argument, instead of using `thenReturn`, use `thenAnswer`:
9
27
276
26,576
📝 Spring Boot and Flyway - clear database between integration tests Exploring different approaches with @springboot, @flywaydb and @junitteam 👉 maciejwalkowiak.com/blog/spr…
15
43
278
27,067
Yoann CAPLAIN retweeted
Millions have downloaded @axonframework since its genesis – and the latest update includes several highly-requested features such as the Dead-Letter Queue. Learn more from @allardbz & @smcvbeelen in the latest episode of #ExploringAxon: hubs.li/Q01s-Txc0
3
4
A very neat addition to the @java 19 API: map/set factory methods like HashMap::newHashMap(int), returning a collection sized so it can hold the given number of elements without resizing. Sometimes it's the little things 🥳. docs.oracle.com/en/java/java…
6
20
2
136
Yesterday we released a new version of Axon Framework. This blog by Mitchell Herrijgers is a short overview of the new features. #eventdriven #opensource #axonframework axoniq.io/blog/axon-framewor…
2
5
Yoann CAPLAIN retweeted
Use C11 as baseline for C source code in the JDK I propose we go ahead with this change, and raise the minimum C language level to C11, and also get it consistent across all platforms. more @ mail.openjdk.org/pipermail/j… #OpenJDK
7
37
Question to the community: Which minimum JDK version should be required for the future Apache Maven 4.0.0 ? @ASFMavenProject ? Please retweet as much as possible to reach more people. (Version available at GA mean the version available at the time of the 4.0.0 release) WDYT?
16%JDK 8
37%JDK 11
43%JDK 17
4%Version available at GA
1,841 votes • Final results
22
122
15
71
📝 Blogged: "The JDK Flight Recorder File Format" Spent some time with a debugger and a hex editor for exploring the format of #JFR recordings, and how it efficiently stores large numbers of events. #Java morling.dev/blog/jdk-flight-… (link to SVG version of the image inside)
17
123
6
407
Why Kafka is not a good fit for message queues and why you should instead use a system that supports individual acknowledgements such as @apache_pulsar 👇
Quick 🧵 on what's "Head-of-Line Blocking" in @apachekafka, why it is a problem, and what some mitigation strategies are. Context: Records in Kafka are written to topic partitions, which are read sequentially by consumers. To parallelize processing, consumers can be organized in
2
8
1
19
Yoann CAPLAIN retweeted
Project Leyden: Beginnings https://xitter.gq/t.co/aIBCrdxIKw
10
120
26
335
Yoann CAPLAIN retweeted
Targeted to JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
1
66
12
272
Yoann CAPLAIN retweeted
Proposed to target JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
18
143
43
444
Yoann CAPLAIN retweeted
Here comes Loom!
Proposed to target JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
13
118
7
527
Yoann CAPLAIN retweeted
New candidate JEP: 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #openjdk #java
8
143
37
464
Yoann CAPLAIN retweeted
Ahead of next month's 3.0 M1 release, we've published the first snapshots of Spring Boot 3.0 based on Spring Framework 6.0 snapshots. As @springjuergen announced (spring.io/blog/2021/09/02/a-…), these snapshots require Java 17 and Jakarta EE 9.
4
55
3
106
IntelliJ IDEA 2021.3 EAP 4 is available for download! Get it now and try out: - Support for remote development - Accessibility updates - Support for Groovy 4 blog.jetbrains.com/idea/2021…
8
28
12
141