Click to copy
Administrator • Reviewed for ksqlDB 0.29
How to Choose between List and Show Commands in ksqlDB
In ksqlDB, LIST
and SHOW
are synonyms and you can use either of them in any scenario.
These commands are helpful when you need to list what instances of a particular object are available for use.
You can look at the ksqlDB grammar to know what objects can be listed.
(LIST | SHOW) PROPERTIES # listProperties
(LIST | SHOW) ALL? TOPICS EXTENDED? # listTopics
(LIST | SHOW) STREAMS EXTENDED? # listStreams
(LIST | SHOW) TABLES EXTENDED? # listTables
(LIST | SHOW) FUNCTIONS # listFunctions
(LIST | SHOW) (SOURCE | SINK)? CONNECTORS # listConnectors
(LIST | SHOW) CONNECTOR PLUGINS # listConnectorPlugins
(LIST | SHOW) TYPES # listTypes
(LIST | SHOW) VARIABLES # listVariables
(LIST | SHOW) QUERIES EXTENDED? # listQueries
Was this article helpful?