Skip to content

Commit ffa279b

Browse files
Merge pull request #8 from igorcampos-dev/feature/geral-spring-kafka-example
chore(spring-kafka-example): general improvements
2 parents 24786f3 + 6d2c132 commit ffa279b

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

spring-kafka-example/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
HELP.md
21
target/
32
.mvn/wrapper/maven-wrapper.jar
43
!**/src/main/**/target/

spring-kafka-example/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,40 +20,49 @@
2020

2121
<properties>
2222
<java.version>21</java.version>
23+
<spring.boot.version>3.5.3</spring.boot.version>
24+
<spring.kafka.version>3.3.7</spring.kafka.version>
2325
</properties>
2426

2527
<dependencies>
2628

2729
<dependency>
2830
<groupId>org.springframework.boot</groupId>
2931
<artifactId>spring-boot-starter-web</artifactId>
32+
<version>${spring.boot.version}</version>
3033
</dependency>
3134

3235
<dependency>
3336
<groupId>org.springframework.kafka</groupId>
3437
<artifactId>spring-kafka</artifactId>
38+
<version>${spring.kafka.version}</version>
3539
</dependency>
3640

3741
<dependency>
3842
<groupId>org.springframework.boot</groupId>
3943
<artifactId>spring-boot-starter-test</artifactId>
44+
<version>${spring.boot.version}</version>
4045
<scope>test</scope>
4146
</dependency>
4247

4348
<dependency>
4449
<groupId>org.springframework.kafka</groupId>
4550
<artifactId>spring-kafka-test</artifactId>
51+
<version>${spring.kafka.version}</version>
4652
<scope>test</scope>
4753
</dependency>
4854

4955
</dependencies>
5056

5157
<build>
5258
<plugins>
59+
5360
<plugin>
5461
<groupId>org.springframework.boot</groupId>
5562
<artifactId>spring-boot-maven-plugin</artifactId>
63+
<version>${spring.boot.version}</version>
5664
</plugin>
65+
5766
</plugins>
5867
</build>
5968

spring-kafka-example/src/main/resources/application.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
spring:
2+
3+
application:
4+
name: spring-kafka-example
5+
6+
logging:
7+
8+
pattern:
9+
console: "%d{yyyy-MM-dd'T'HH:mm:ss} | ${spring.application.name} | %class{30} | %level | %m%n"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
,--. ,--. ,---.,--.
2+
,---. ,---. ,--.--.`--',--,--, ,---. ,-----.| |,-. ,--,--./ .-'| |,-. ,--,--.
3+
( .-'| .-. || .--',--.| \| .-. |'-----'| /' ,-. || `-,| /' ,-. |
4+
.-' `) '-' '| | | || || |' '-' ' | \ \\ '-' || .-'| \ \\ '-' |
5+
`----'| |-' `--' `--'`--''--'.`- / `--'`--'`--`--'`--' `--'`--'`--`--'
6+
`--' `---'
7+
SPRING-KAFKA-EXAMPLE

0 commit comments

Comments
 (0)