diff --git a/docs/developer_guides/chap04_message_stream.md b/docs/developer_guides/chap04_message_stream.md index 0807ca9c6b..65a327a1c6 100644 --- a/docs/developer_guides/chap04_message_stream.md +++ b/docs/developer_guides/chap04_message_stream.md @@ -247,19 +247,19 @@ func (rmsf *RmqMsgStreamFactory) NewTtMsgStream() *MsgStream // PulsarMsgStream type PulsarMsgStream struct { - ctx context.Context - client pulsar.Client - producers []Producer - consumers []Consumer - consumerChannels []string - repackFunc RepackFunc - unmarshal UnmarshalDispatcher - receiveBuf chan *MsgPack - wait *sync.WaitGroup - streamCancel func() + ctx context.Context + client pulsar.Client + producers []Producer + consumers []Consumer + consumerChannels []string + repackFunc RepackFunc + unmarshal UnmarshalDispatcher + receiveBuf chan *MsgPack + wait *sync.WaitGroup + streamCancel func() pulsarBufSize int64 - consumerLock *sync.Mutex - consumerReflects []reflect.SelectCase + consumerLock *sync.Mutex + consumerReflects []reflect.SelectCase scMap *sync.Map }