Give the forge's merges a durable consumer of their own: no max-deliver, no reset, a growing delay while held (issue 973)

This commit is contained in:
2026-10-17 12:28:27 +02:00
parent ff16938096
commit a79182e53b
10 changed files with 213 additions and 16 deletions
+2
View File
@@ -36,6 +36,8 @@ type Consumer struct {
// them over, and a loop that acts on one message at a time is the property the store window
// depends on. A queue group implies this, because a group has nothing to pull from.
Push bool
// DeliverSubject, when set, is where a push consumer delivers instead of DeliverSubjectFor's.
DeliverSubject string
// AckWaitSeconds before an unacknowledged delivery is redelivered.
AckWaitSeconds int
// MaxDeliver is how often a message is handed over before the consumer gives it up; zero for no