Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Jul 6, 2024
1 parent c8fcdd7 commit 9da7268
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ public class CalendarConsumer {

static final String CONSUMER_NAME = "Calendar";

@KafkaListener(groupId = CONSUMER_NAME, topics = "patient")
@KafkaListener(groupId = CONSUMER_NAME, topics = "practitioner")
@KafkaListener(groupId = CONSUMER_NAME, topics = {"patient", "practitioner"})
public void processKafka(@Header(KafkaHeaders.RECEIVED_KEY) String key, EventData eventData) {
process(key, eventData);
}
Expand Down

0 comments on commit 9da7268

Please sign in to comment.