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 70b0beb commit 1acfcedCopy full SHA for 1acfced
internal/topic/topicreaderinternal/stream_reader_impl.go
@@ -329,6 +329,12 @@ func (r *topicStreamReaderImpl) onPartitionSessionStatusResponseFromBuffer(
329
}
330
331
func (r *topicStreamReaderImpl) Commit(ctx context.Context, commitRange commitRange) (err error) {
332
+ defer func() {
333
+ if errors.Is(err, PublicErrCommitSessionToExpiredSession) && r.cfg.CommitMode == CommitModeAsync {
334
+ err = nil
335
+ }
336
+ }()
337
+
338
if commitRange.partitionSession == nil {
339
return xerrors.WithStackTrace(errCommitWithNilPartitionSession)
340
0 commit comments