Skip to main content
Version: 8.3 Beta 🚧

system.kafka.listTopics

This function is used in Python Scripting.

Description​

Returns a list of topics for the provided connector.

Client Permission Restrictions​

This scripting function has no Client Permission restrictions.

Syntax​

system.kafka.listTopics(connector)

Parameters​

TypeParameterDescription
StringconnectorThe name of the Kafka connector.

Returns​

List - A list of topics for the provided connector.

Scope​

Gateway

Code Examples​

Example #1
# Returns a list of topics from the specified connector.
system.kafka.listTopics("MyKafkaConnector")