Change ttMsgStream of dataservice to MsgStream

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/4973/head^2
sunby 2021-02-08 16:42:56 +08:00 committed by yefu.chen
parent 4035083188
commit c74221e4da
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ func (s *Server) initSegmentInfoChannel() {
}
func (s *Server) initMsgProducer() error {
var err error
if s.ttMsgStream, err = s.msFactory.NewTtMsgStream(s.ctx); err != nil {
if s.ttMsgStream, err = s.msFactory.NewMsgStream(s.ctx); err != nil {
return err
}
s.ttMsgStream.AsConsumer([]string{Params.TimeTickChannelName}, Params.DataServiceSubscriptionName)