nsq_to_nsq: support multiple topics #648
nsq_to_nsq: support multiple topics #648

Description:

    Added the ability to listen to many topic and broadcast to one topic for nsq_to_nsq app

Testing:

    Using the following setup

        ./nsqlookupd --broadcast-address="127.0.0.1"

        ./nsqd --broadcast-address="127.0.0.1" --lookupd-tcp-address=127.0.0.1:4160

        ./nsqd --broadcast-address="127.0.0.1" --lookupd-tcp-address=127.0.0.1:4160 -tcp-address=0.0.0.0:4190 -data-path="bin/data4190"

        ./nsqd --broadcast-address="127.0.0.1"  -tcp-address=0.0.0.0:4182 -data-path="bin/data4182" -http-address=0.0.0.0:4

        ./nsq_to_nsq --topic=test --topic=test1 --destination-nsqd-tcp-address=0.0.0.0:4182  --lookupd-http-address=127.0.0.1:4161  --destination-topic=test

    Verify that

        curl -d 'hello world 2' 'http://127.0.0.1:4191/pub?topic=test'
        curl -d 'hello world 2' 'http://127.0.0.1:4191/pub?topic=test1'
        curl -d 'hello world 2' 'http://127.0.0.1:4151/pub?topic=test'
        curl -d 'hello world 2' 'http://127.0.0.1:4151/pub?topic=test1'

        will result in nsqd: -tcp-address=0.0.0.0:4182 receiving those broadcast.

jlr52/nsq,jlr52/nsq,jlr52/nsq,jlr52/nsq,jlr52/nsq