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 12481a1 commit b8f3944Copy full SHA for b8f3944
internal/topic/topiclistenerinternal/stream_listener.go
@@ -109,6 +109,9 @@ func (l *streamListener) initVars(sessionIDCounter *atomic.Int64) {
109
l.hasNewMessagesToSend = make(empty.Chan, 1)
110
l.sessions = &topicreadercommon.PartitionSessionStorage{}
111
l.sessionIDCounter = sessionIDCounter
112
+ if l.cfg == nil {
113
+ l.cfg = &StreamListenerConfig{}
114
+ }
115
}
116
117
func (l *streamListener) initStream(ctx context.Context, client TopicClient) error {
0 commit comments