Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Pulsar client consume command fails with java.lang.IllegalArgumentException: port out of range:-1 #2576
Consume messages with TLS Auth and Authorization.
./bin/pulsar-client consume persistent://apps/data/sim -s my-topic -n 10 -r 0
15:09:30.864 [pulsar-io-21-10] INFO org.apache.pulsar.broker.service.ServerCnx - [/127.0.0.1:45440] Client successfully authenticated with tls role admin and originalPrincipal null
15:09:35.222 [pulsar-io-21-10] INFO org.apache.pulsar.broker.service.ServerCnx - Closed connection from /127.0.0.1:45440
15:04:50.758 [pulsar-client-io-1-1] INFO org.apache.pulsar.client.impl.ConnectionPool - [[id: 0xf472fa68, L:/127.0.0.1:45398 - R:localhost/127.0.0.1:6651]] Connected to server
Steps to reproduce
Pulsar version: 2.1
at java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143) ~[?:1.8.0_171]
@dsambandam : what are the command you are using for initializing cluster metadata?
especially what did you provide for