Skip to main content

Module core

Module core 

Source
Expand description

Core business logic module

This module contains reusable business logic that is independent of any presentation layer (CLI, API, TUI, etc.).

§Design Principles

  1. Pure Business Logic: No I/O, no formatting, no CLI concerns
  2. Testable: Can be tested independently without CLI
  3. Reusable: Can be used by different interfaces
  4. Type-Safe: Uses strong types and Result for error handling

§Available Modules

  • admin - Admin client builder and RAII management
  • topic - Topic management operations
  • namesrv - NameServer management operations

Modules§

admin
Admin client builder and RAII resource management
cache
Caching layer for performance optimization
concurrent
Concurrent query utilities for performance optimization
namesrv
NameServer management core logic
topic
Topic management core logic

Enums§

RocketMQError
Main error type for all RocketMQ operations
ToolsError
Tools-specific errors for admin operations

Type Aliases§

RocketMQResult
Result type alias for RocketMQ operations