diff --git a/cli/stream_command.go b/cli/stream_command.go index d1ef5ba1..7ff1dee3 100644 --- a/cli/stream_command.go +++ b/cli/stream_command.go @@ -1706,6 +1706,10 @@ func (c *streamCmd) showStreamInfo(info *api.StreamInfo) { fmt.Printf(" Active Consumers: %d\n", info.State.Consumers) + if info.State.NumSubjects > 0 { // available from 2.8 + fmt.Printf(" Number of Subjects: %d\n", info.State.NumSubjects) + } + if len(info.Alternates) > 0 { fmt.Printf(" Alternates: ") lName := 0