Skip to content

Commit

Permalink
Fix kafka integretion tests, fix conflict between port used by embedd…
Browse files Browse the repository at this point in the history
…ed kafka and gRPC server
  • Loading branch information
zakariamaaraki committed Apr 20, 2024
1 parent eb7ea9a commit 46ef74a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,18 @@
<version>1.40.1</version>
</dependency>

<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-testing</artifactId>
<version>1.51.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<!-- Sleuth for distributed tracing -->
<dependency>
<groupId>org.springframework.cloud</groupId>
Expand Down
3 changes: 3 additions & 0 deletions src/test/resources/application-kafka.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
grpc:
server:
port: 9099 # default gRPC server port is used by embedded kafka

0 comments on commit 46ef74a

Please sign in to comment.