提交 425f57e1 编写于 作者: X XuanYang-cn 提交者: yefu.chen

Replace hand-drawing pictures with OminiGraffle

Signed-off-by: NXuanYang-cn <xuan.yang@zilliz.com>
上级 e9122921
......@@ -206,8 +206,8 @@ func (ms *PulsarMsgStream) Consume() *MsgPack {
}
func (ms *PulsarMsgStream) bufMsgPackToChannel() {
tsMsgList := make([]*TsMsg, 0)
for {
tsMsgList := make([]*TsMsg, 0)
for i := 0; i < len(ms.consumers); i++ {
consumerChan := (*ms.consumers[i]).Chan()
chanLen := len(consumerChan)
......
......@@ -162,7 +162,7 @@ func TestStream_Insert(t *testing.T) {
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 0, 0))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 3, 3))
//run stream
initStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName, &msgPack, internalPb.MsgType_kInsert, internalPb.MsgType_kInsert, false)
......@@ -227,7 +227,7 @@ func TestStream_TimeTick(t *testing.T) {
func TestStream_BroadCast(t *testing.T) {
pulsarAddress := "pulsar://localhost:6650"
producerChannels := []string{"insert1", "insert2"}
consumerChannels := []string{"insert2", "insert2"}
consumerChannels := []string{"insert1", "insert2"}
consumerSubName := "subInsert"
msgPack := MsgPack{}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册