mirror of https://github.com/milvus-io/milvus.git
Change ttMsgStream of dataservice to MsgStream
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/4973/head^2
parent
4035083188
commit
c74221e4da
|
@ -188,7 +188,7 @@ func (s *Server) initSegmentInfoChannel() {
|
||||||
}
|
}
|
||||||
func (s *Server) initMsgProducer() error {
|
func (s *Server) initMsgProducer() error {
|
||||||
var err 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
|
return err
|
||||||
}
|
}
|
||||||
s.ttMsgStream.AsConsumer([]string{Params.TimeTickChannelName}, Params.DataServiceSubscriptionName)
|
s.ttMsgStream.AsConsumer([]string{Params.TimeTickChannelName}, Params.DataServiceSubscriptionName)
|
||||||
|
|
Loading…
Reference in New Issue