mirror of https://github.com/milvus-io/milvus.git
Fix write node consume busy
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/4973/head^2
parent
12e49781e6
commit
eb3c55cd03
|
@ -27,6 +27,7 @@ proxy/milvus
|
||||||
proxy/cmake_build
|
proxy/cmake_build
|
||||||
proxy/cmake-build-debug
|
proxy/cmake-build-debug
|
||||||
proxy/cmake-build-release
|
proxy/cmake-build-release
|
||||||
|
proxy/cmake_build_release
|
||||||
proxy/thirdparty/grpc-src
|
proxy/thirdparty/grpc-src
|
||||||
proxy/thirdparty/grpc-build
|
proxy/thirdparty/grpc-build
|
||||||
proxy/milvus/*
|
proxy/milvus/*
|
||||||
|
|
|
@ -87,7 +87,7 @@ func (mc *MessageClient) creatProducer(topicName string) pulsar.Producer {
|
||||||
func (mc *MessageClient) createConsumer(topicName string) pulsar.Consumer {
|
func (mc *MessageClient) createConsumer(topicName string) pulsar.Consumer {
|
||||||
consumer, err := mc.client.Subscribe(pulsar.ConsumerOptions{
|
consumer, err := mc.client.Subscribe(pulsar.ConsumerOptions{
|
||||||
Topic: topicName,
|
Topic: topicName,
|
||||||
SubscriptionName: "writer",
|
SubscriptionName: "writer" + strconv.Itoa(mc.MessageClientID),
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue