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

to_nsq consistently throws a runtime error #962

Closed
filipefigcorreia opened this issue Nov 6, 2017 · 1 comment
Closed

to_nsq consistently throws a runtime error #962

filipefigcorreia opened this issue Nov 6, 2017 · 1 comment

Comments

@filipefigcorreia
Copy link

Running this example provided in the docs:

echo "one,two,three" | to_nsq -delimiter="," -topic="topic" -nsqd-tcp-address="127.0.0.1:4150"

Results in this error message:

panic: runtime error: integer divide by zero

goroutine 1 [running]:
main.main()
	/private/tmp/nsq-20171012-47917-6v9sj4/nsq-1.0.0-compat/apps/to_nsq/to_nsq.go:71 +0x9b4

May this be caused by a bug? When I run the command with a different IP address (even a non-existent one) it still issues the same error.

@ploxiln
Copy link
Member

ploxiln commented Nov 6, 2017

I think this was fixed in #867

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

No branches or pull requests

3 participants