Skip to main content

Module topic

Module topic 

Source
Expand description

Topic management core logic

This module provides reusable business logic for topic operations, independent of CLI presentation layer.

§Examples

use rocketmq_admin_core::core::topic::{TopicService, TopicClusterList};

let clusters = TopicService::get_topic_cluster_list(&mut admin, "MyTopic").await?;

Re-exports§

pub use self::operations::TopicOperations;
pub use self::operations::TopicService;
pub use self::types::BrokerData;
pub use self::types::QueueData;
pub use self::types::TopicClusterList;
pub use self::types::TopicConfig;
pub use self::types::TopicRouteInfo;
pub use self::types::TopicStatus;
pub use self::types::TopicTarget;

Modules§

operations
Topic operations - Core business logic
types
Topic-related types and data structures