Skip to content

Commit

Permalink
bugfix: modified application-test.yml file to include kafka config. (C…
Browse files Browse the repository at this point in the history
…lose #14)
  • Loading branch information
seyedali-dev committed Jun 4, 2024
1 parent aa1f744 commit befc24a
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/test/resources/application-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,23 @@ authentication:
service:
user-persistence-controller:
base-url: http://${AUTHENTICATION_SERVICE_HANDLE_USER_BASE_URL:localhost:8081}/keycloak-user
handle-user-url: /handle-user
handle-user-url: /handle-user

--- # Kafka
spring:
kafka:
consumer:
bootstrap-servers: localhost:9092
group-id: project_group_timeentry
auto-offset-reset: earliest

#configure deserialize classes for key & value pair
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.springframework.kafka.support.serializer.JsonDeserializer
properties:
spring.json.trusted.packages: "*"
spring.json.type.mapping: ProjectEvent:com.seyed.ali.timeentryservice.model.payload.ProjectDTO

#custom
topic:
name: project_name

0 comments on commit befc24a

Please sign in to comment.