risingwave_connector::source::pulsar::topic

Function parse_topic

source
pub fn parse_topic(topic: &str) -> ConnectorResult<Topic>
Expand description

parse_topic parses a topic name into its components. The short topic name can be:

  • <topic>
  • <tenant>/<namespace>/<topic>

The fully qualified topic name can be: <domain>://<tenant>/<namespace>/<topic>