Covers replacing Thread.sleep with await() across a void @Async method, an @EmbeddedKafka-backed @KafkaListener, and an already-running @Scheduled job; verifies Awaitility 4.3.0's real defaults (10s timeout, 100ms poll interval) and its default-uncaught-exception-handler swap directly against the jar; and documents a real pom.xml trap where Boot 4.1.1 split Kafka's autoconfiguration (spring-boot-kafka) out of spring-kafka itself, which silently leaves @KafkaListener beans with no running container.
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
== Confirming the Boot 4.1 Kafka module split directly against Maven Central's real POMs ==
|
|
|
|
$ curl -sS https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/4.1.1/spring-boot-dependencies-4.1.1.pom -o spring-boot-dependencies-4.1.1.pom
|
|
$ grep -B3 '<artifactId>spring-boot-kafka</artifactId>' spring-boot-dependencies-4.1.1.pom
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-kafka</artifactId>
|
|
|
|
$ curl -sS https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-kafka/4.1.1/spring-boot-starter-kafka-4.1.1.pom | grep -A2 '<artifactId>'
|
|
<artifactId>spring-boot-starter-kafka</artifactId>
|
|
<version>4.1.1</version>
|
|
<name>spring-boot-starter-kafka</name>
|
|
--
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
--
|
|
<artifactId>spring-boot-kafka</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
|
|
$ curl -sS https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-kafka/4.1.1/spring-boot-kafka-4.1.1.pom | grep -A2 '<artifactId>'
|
|
<artifactId>spring-boot-kafka</artifactId>
|
|
<version>4.1.1</version>
|
|
<name>spring-boot-kafka</name>
|
|
--
|
|
<artifactId>spring-boot</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
--
|
|
<artifactId>spring-boot-transaction</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|
|
--
|
|
<artifactId>spring-kafka</artifactId>
|
|
<version>4.1.1</version>
|
|
<scope>compile</scope>
|