We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 918e40b commit 91ce5dbCopy full SHA for 91ce5db
internal/kafka/consumer.go
@@ -124,6 +124,11 @@ func (c *Consumer) processSessionChange(event models.DebeziumEvent) {
124
return
125
}
126
127
+ if after.Status == "CANCELLED" {
128
+ log.Printf("Session %s was cancelled. No further scheduling actions will be taken.", after.ID)
129
+ return
130
+ }
131
+
132
// Check if on-sale time changed
133
if after.SalesStartTime != before.SalesStartTime {
134
onSaleTime := scheduler.MicrosecondsToTime(after.SalesStartTime)
0 commit comments