Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsqd: seperate broadcast ports for tcp and http #1297

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

shyam-king
Copy link
Contributor

Description

When using nsqd within containerised instances, we would require not only a different broadcast address but also different ports to which consumers must contact in order to reach the nsqd, thus, solving #1073 .

Changes

  • adds flags to accept broadcast-tcp-address and broadcast-http-address
  • registers nsqd with lookupd using broadcast-tcp-address and broadcast-http-address instead of the bound ports

nsqd/options.go Outdated Show resolved Hide resolved
apps/nsqd/options.go Outdated Show resolved Hide resolved
nsqd/nsqd.go Outdated Show resolved Hide resolved
@ploxiln
Copy link
Member

ploxiln commented Nov 16, 2020

Can you squash down to one commit please? The prefix of the commit title should be "nsqd:"

(I suggest a commit title like: "nsqd: add flags --broadcast-tcp-port, --broadcast-http-port")

@shyam-king shyam-king force-pushed the issue-1073 branch 2 times, most recently from a34709e to f3d4e77 Compare November 17, 2020 07:28
@ploxiln
Copy link
Member

ploxiln commented Nov 17, 2020

one last minor nit, commit title has "broadcast-http-address" instead of "broadcast-http-port"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants