pydo.databases.get_kafka_topic()

Description

To retrieve a given topic by name from the set of a Kafka cluster’s topics, send a GET request to /v2/databases/$DATABASE_ID/topics/$TOPIC_NAME.

The result will be a JSON object with a topic key.

Parameters

Name Type Required Description Default Value
database_cluster_uuid string True A unique identifier for a database cluster.
topic_name string True The name used to identify the Kafka topic.

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

In this article...