Open matthewadams opened 4 years ago
You should always connect to 8681
. After the topics and subscriptions are created, the service starts listening on port 8682
ONLY to indicate that it's done. The listener on port 8682
doesn't do anything and will drop any requests sent to it. You should continue connecting to 8681
to access everything.
The following sentences are confusing to me:
The first sentence is pretty clear. Use
8681
if you're not usingPUBSUB_PROJECT
env vars, but the second sentence seems to imply something.Is that to say that, for each
PUBSUB_PROJECTN
, whereN
is a one-based index, that a client should connect to port8681 + N
, or, no matter how manyPUBSUB_PROJECTN
env vars there are, you always connect to port 8682?Why would I ever connect to any port other than
8681
? Please clarify. :)