show

Use this command to display an object's configuration values on the Apache Pulsar cluster to which you are connected.

Note: As shown in the examples, the path can either be absolute or relative to the current directory.

Synopsis

show <ShowCommandArg> [ShowCommandArg Options]

show bookie-rack

show <Cluster> [bookie <Bookie>] bookie-rack <Broker Host:Port> [bookie <Bookie Name>]
Show information about a bookie.

show broker

show broker <Cluster> [<broker arguments and options>]
Show information about brokers in the cluster.
Options include:
  • allocator-stats <AllocatorName>
  • bookieops
  • dynamic-config
  • health [topic-version <V1/V2>]
  • internal-config
  • leader-broker
  • load-report
  • mbeans
  • monitoring-metrics
  • resource-quota [namespace <Namespace> bundle <Bundle>]
  • runtime-config
  • topic-stats
  • version
Examples:
/> show broker http://127.0.0.1:8080 internal-config

/> show broker http://127.0.0.1:8080 dynamic-config

show cluster

show cluster <Cluster> [in <Cluster>]
show cluster <Cluster> [in <Cluster>] failure-domain <DomainName>
show cluster <Cluster> [in <Cluster>] namespace-isolation-policies [brokers | broker <Broker>]
show cluster <Cluster> [in <Cluster>] namespace-isolation-policy <Policy>
show cluster <Cluster> [in <Cluster>] peer-clusters
show cluster <Cluster> [in <Cluster>] resource-group <GroupName>
Show information about a cluster.
Examples:
/instance1/cluster1> show cluster . peer-cluster

show namespace

show namespace <Namespace> [<namespace options>]
Show information about a specified namespace.

show namespace Options

For details on the following options, refer to the Apache Pulsar documentation.

  • anti-affinity-group
  • auto-subscription-creation
  • auto-topic-creation
  • auto-update-schema
  • backlog-quota
  • bookie-affinity-group
  • bundles
  • compaction-threshold
  • deduplication
  • deduplication-snapshot-interval
  • delayed-delivery
  • dispatch-rate
  • encryption-required
  • inactive-topic-policies
  • max-consumers-per-subscription
  • max-consumers-per-topic
  • max-producers-per-topic
  • max-subscriptions-per-topic
  • max-topics
  • max-unacked-messages-per-consumer
  • max-unacked-messages-per-subscription
  • message-ttl
  • offload-deletion-lag
  • offload-policies
  • offload-threshold
  • permissions
  • persistence
  • policies
  • properties
  • publish-rate
  • replication-cluster
  • replicator-dispatch-rate
  • resource-group
  • retention
  • schema-compatibility-strategy
  • schema-validation-enforce
  • subscribe-rate
  • subscription-auth-mode
  • subscription-dispatch-rate
  • subscription-expiration-time
  • subscription-permissions
  • subscription-types-enabled
Examples:
/> show namespace /instance1/cluster1/tenant1/namespace1 permissions

/instance1/cluster1/tenant1/namespace1> show namespace . policies

show racks-placement

show racks-placement <Cluster>
Show information about a bookie rack.
Example:
/> show racks-placement http://127.0.0.1:8080

show schemas

show schemas <Topic> [version <Version>]
Show information about schemas based on a specified topic in the cluster.
Examples:
/> show schemas /instance1/cluster1/tenant1/namespace1/topic1

/> show schemas /instance1/cluster1/tenant1/namespace1/topic1 version 03

/instance1/cluster1/tenant1/namespace1/topic1> show schemas . version 06

show tenant

show tenant [<Tenant>]
Show information about a tenant.
Example:
/instance1/cluster1/tenant1> show tenant .

show topic

show topic <Topic> [< topic arguments and options>]
Show information about a specified topic in the cluster.
Options include:
  • backlog-size
  • bundle-range
  • compact-status
  • last-message-id
  • lookup
  • message [count <Int>] [position <Int>] [start <earliest|latest>]
  • message id <MessageID>
  • message-id <DateTime> 
  • offload-status
  • partitioned-metadata
  • properties
  • replication-clusters
  • stats [info-internal | internal]
Examples:
/> show topic /instance1/cluster1/tenant1/namespace1/topic1 lookup

/> show topic /instance1/cluster1/tenant1/namespace1/topic1 bundle-range

/>/instance1/cluster1/tenant1/namespace1/topic1> show topic . stats

/instance1/cluster1/tenant1/namespace1/topic1> show topic . last-message-id