-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
- Provides more admin APIs, such as createTopicInCluster, createSubscriptionGroup, etc.
Currently, only supports two apis:
type Admin interface {
CreateTopic(ctx context.Context, opts ...OptionCreate) error
DeleteTopic(ctx context.Context, opts ...OptionDelete) error
//TODO
//TopicList(ctx context.Context, mq *primitive.MessageQueue) (*remote.RemotingCommand, error)
//GetBrokerClusterInfo(ctx context.Context) (*remote.RemotingCommand, error)
Close() error
}
- Admin API uses Option Builder Pattern, this will result in many Option Helper functions with the potential for naming conflicts. With more APIs, it becomes harder to maintain.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request