Skip to content

Commit

Permalink
chore: add surgery booking events topic to publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-acampora committed Feb 23, 2023
1 parent 781fe29 commit ece20bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/infrastructure/kafka/KafkaPublisher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class KafkaPublisher : EventPublisher<Event<*>> {
private val eventToTopic: Map<String, String> = mapOf(
"ROOM_EVENT" to "room-events",
"PROCESS_EVENT" to "process-events",
"TRACKING_EVENT" to "tracking-events"
"TRACKING_EVENT" to "tracking-events",
"SURGERY_BOOKING_EVENT" to "surgery-bookings-events"
)

private val producer: KafkaProducer<String, Event<*>> = KafkaProducer(producerProps)
Expand Down

0 comments on commit ece20bd

Please # to comment.