gorexlv opened a new issue, #800:
URL: https://github.com/apache/rocketmq-client-go/issues/800
1. 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
}
`
2. 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]