Skip to content

Commit c599e71

Browse files
committed
Update: Spring Boot 2.4.2 and Java 15
1 parent 061651b commit c599e71

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

README.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
This sample application shows how to use basic Spring Boot configuration to set up a producer to a topic with multiple partitions and a consumer group with three different consumers.
66

7-
The full explanation is on The Practical Developer website: [Spring Boot and Kafka - Practical Configuration Examples](https://thepracticaldeveloper.com/2018/11/24/spring-boot-kafka-config/).
7+
The complete post with details is on The Practical Developer website: [Spring Boot and Kafka - Practical Configuration Examples](https://thepracticaldeveloper.com/spring-boot-kafka-config/).
88

9-
[![Kafka Configuration Example](img/kafka-configuration-example.jpg)](https://thepracticaldeveloper.com/2018/11/24/spring-boot-kafka-config/)
9+
[![Kafka Configuration Example](img/kafka-configuration-example.jpg)](https://thepracticaldeveloper.com/spring-boot-kafka-config/)
1010

1111
## Multiple serialization / deserialization formats
1212

@@ -18,8 +18,12 @@ To illustrate the different configuration options, this application deserializes
1818

1919
## Docker compose
2020

21-
This code includes a `docker-compose.yml` file so you can use Docker Compose to start up Kafka, no installation needed.
21+
This code includes a `docker-compose.yml` file, so you can use Docker Compose to start up Kafka without installing anything.
2222

23-
## Did I help you?
23+
## Was it useful?
2424

25-
Give a star to this project and/or [buy me a coffee](https://buymeacoff.ee/ZyLJNUR) 😄
25+
Give a star to this project, and consider some extra readings:
26+
27+
* [My practical book about building a microservices architecture from scratch](https://amzn.to/3nADn4q).
28+
* [The Full Reactive Stack Guide](https://leanpub.com/full-reactive/).
29+
* [The Practical Architecture Guide](https://leanpub.com/practical-software-architecture).

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>2.1.0.RELEASE</version>
17+
<version>2.4.2</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

2121
<properties>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<java.version>10</java.version>
24+
<java.version>15</java.version>
2525
</properties>
2626

2727
<dependencies>

src/test/java/io/tpd/kafkaexample/KafkaExampleApplicationTests.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
package io.tpd.kafkaexample;
22

3-
import org.junit.Test;
4-
import org.junit.runner.RunWith;
3+
import org.junit.jupiter.api.Test;
54
import org.springframework.boot.test.context.SpringBootTest;
6-
import org.springframework.test.context.junit4.SpringRunner;
75

8-
@RunWith(SpringRunner.class)
96
@SpringBootTest
107
public class KafkaExampleApplicationTests {
118

0 commit comments

Comments
 (0)