Port 48 Go parity tests from TestJetStreamConsumerPull* and related functions in jetstream_consumer_test.go to unit-level .NET tests. Enhancements to PullConsumerEngine: - MaxBytes enforcement in FetchAsync loop (stops delivery when budget exceeded) - PullRequestWaitQueue with priority-ordered stable enqueue and popAndRequeue round-robin semantics within same-priority groups - PullWaitingRequest record with Priority, RemainingBatch, Reply fields Enhancements to ConsumerConfig: - MaxWaiting, MaxRequestBatch, MaxRequestMaxBytes, MaxRequestExpiresMs New tests (51 total in ConsumerPullQueueTests.cs): - Pull MaxAckPending enforcement, FIFO delivery, one-shot semantics - Pull timeout (ExpiresMs), NoWait behavior, MaxBytes byte budget - Three-filter and multi-filter subject filtering, filter update - WaitQueue priority ordering and popAndRequeue round-robin - Pending count tracking, ack floor advancement, redelivery - DeliverPolicy Last/LastPerSubject/ByStartTime with filters - ConsumerIsFiltered detection, overlapping subject filters DB: 37 Go tests mapped → ConsumerPullQueueTests.cs (1,386 total mapped)
1.2 MiB
1.2 MiB