Meet0861 opened a new issue, #19248: URL: https://github.com/apache/pulsar/issues/19248
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version v-2.9.3.3-2 ### Minimal reproduce step 1. Create a partitioned-topic which have only one partition. 2. Run - `bin/pulsar-admin topics partitioned-stats tenant1/ns1/topic1` : Connection status under replication : `"replication" : { “Cluster-2” : { "msgRateIn" : 0.0, "msgThroughputIn" : 0.0, "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "msgRateExpired" : 0.0, "replicationBacklog" : 0, "**connected**" : false, "replicationDelayInSeconds" : 0 } }` 3. Run - `bin/pulsar-admin topics stats tenant1/ns1/topic1-partition-0` : Connection status under replication : `"replication" : { “Cluster”-2 : { "msgRateIn" : 0.0, "msgThroughputIn" : 0.0, "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "msgRateExpired" : 0.0, "replicationBacklog" : 0, "connected" : true, "replicationDelayInSeconds" : 0, "**inboundConnection**" : “/xx.yy.zz.xx:47196", "**inboundConnectedSince**" : "2023-01-16T08:46:39.861Z", "**outboundConnection**" : "[id: 0xa019c52b, L:/xx.yy.zz.xx:35890 - R:xx.yy.zz.xx/1xx.yy.zz.xx:6650]", "**outboundConnectedSince**" : "2023-01-16T08:46:39.709Z" } }` ### What did you expect to see? At topic level also, it should return the inbound/outbound connection information of the broker. As we can see there is only one partition present. ### What did you see instead? The output of the commands is diff at topic and partition level. ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
