diff options
| author | chrislu <chris.lu@gmail.com> | 2024-01-16 08:52:42 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-01-16 08:52:42 -0800 |
| commit | 34a78ffad00310464a8f8731b2d31d54c19d618d (patch) | |
| tree | ad87ed9dac245ec64fea93a770d6338d787592d2 /weed/mq/client | |
| parent | 3795d8dca8b1548263376057173aaac310e9fdd3 (diff) | |
| download | seaweedfs-34a78ffad00310464a8f8731b2d31d54c19d618d.tar.xz seaweedfs-34a78ffad00310464a8f8731b2d31d54c19d618d.zip | |
remove isForPublish from LookupTopicBrokers
also adds a return parameter: whether the topic exists or not
Diffstat (limited to 'weed/mq/client')
| -rw-r--r-- | weed/mq/client/pub_client/lookup.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/mq/client/pub_client/lookup.go b/weed/mq/client/pub_client/lookup.go index ccc83b58d..ce65bbc92 100644 --- a/weed/mq/client/pub_client/lookup.go +++ b/weed/mq/client/pub_client/lookup.go @@ -38,7 +38,6 @@ func (p *TopicPublisher) doLookupAndConnect(brokerAddress string) error { Namespace: p.namespace, Name: p.topic, }, - IsForPublish: true, }) glog.V(0).Infof("lookup1 topic %s/%s: %v", p.namespace, p.topic, lookupResp) if p.config.CreateTopic && err != nil { @@ -58,7 +57,6 @@ func (p *TopicPublisher) doLookupAndConnect(brokerAddress string) error { Namespace: p.namespace, Name: p.topic, }, - IsForPublish: true, }) glog.V(0).Infof("lookup2 topic %s/%s: %v", p.namespace, p.topic, lookupResp) } |
