Fix the error usage of ttmsg

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
pull/4973/head^2
godchen 2021-02-01 19:22:35 +08:00 committed by yefu.chen
parent a74767fe57
commit 93fd6b70f3
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ func (s *Server) startSegmentFlushChannel(ctx context.Context) {
func (s *Server) startDDChannel(ctx context.Context) {
defer s.serverLoopWg.Done()
ddStream := pulsarms.NewPulsarTtMsgStream(ctx, 1024)
ddStream := pulsarms.NewPulsarMsgStream(ctx, 1024)
ddStream.SetPulsarClient(Params.PulsarAddress)
ddStream.CreatePulsarConsumers([]string{s.ddChannelName}, Params.DataServiceSubscriptionName, util.NewUnmarshalDispatcher(), 1024)
ddStream.Start()