We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc4513 commit ee5da4aCopy full SHA for ee5da4a
data/events/events.go
@@ -439,6 +439,10 @@ func (c *NotBeforeConsumer) notBeforeFromMsgHeaders(msg *sarama.ConsumerMessage)
439
}
440
441
// CascadingConsumer cascades messages that failed to be consumed to another topic.
442
+//
443
+// It also sets an adjustable delay via the "not-before" and "failures" headers so that as
444
+// the message moves from topic to topic, the time between processing is increased according
445
+// to [FailuresToDelay].
446
type CascadingConsumer struct {
447
Consumer asyncevents.SaramaMessageConsumer
448
NextTopic string
0 commit comments