Skip to content

NewProducer and nslookupd #170

@gravis

Description

@gravis

Hi,

It's a bit unclear to me why NewProducer needs a nsqd address, while the consumer has a ConnectToNSQLookupd. Why nsqlookupd doesn't return the list of available nsqd nodes, and the producer use that, like the consumer?
We have to keep a list of nodes for the producer, it's completely redundant with nsqlookupd.
(btw: https://godoc.org/github.com/nsqio/go-nsq#NewProducer is unclear about what is addr, the explanation is elsewhere https://godoc.org/github.com/nsqio/go-nsq#Producer).

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions