Skip to content

Commit

Permalink
chore(track): add type mappings for kafka events
Browse files Browse the repository at this point in the history
  • Loading branch information
denniseffing committed Nov 10, 2023
1 parent e03d1cd commit ab3ecde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/track/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spring:
"security.protocol": SASL_PLAINTEXT
"sasl.mechanism": PLAIN
"sasl.jaas.config": 'org.apache.kafka.common.security.plain.PlainLoginModule required username="${KAFKA_USER:track}" password="${KAFKA_PASSWORD:track}";'
producer:
properties:
"spring.json.type.mapping": "date-tracked:de.codecentric.habitcentric.track.habit.HabitTracking$DateTracked,date-untracked:de.codecentric.habitcentric.track.habit.HabitTracking$DateUntracked"

server:
port: 9002
Expand Down

0 comments on commit ab3ecde

Please sign in to comment.