Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enrich and optimize admin api #800

Open
gorexlv opened this issue Apr 8, 2022 · 1 comment · May be fixed by #1096
Open

Enrich and optimize admin api #800

gorexlv opened this issue Apr 8, 2022 · 1 comment · May be fixed by #1096
Labels
enhancement New feature or request
Milestone

Comments

@gorexlv
Copy link

gorexlv commented Apr 8, 2022

  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
}
  1. 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.
@ShannonDing ShannonDing linked a pull request Jul 21, 2022 that will close this issue
@ShannonDing ShannonDing added the enhancement New feature or request label Jul 21, 2022
@ShannonDing ShannonDing added this to the 2.2.0 milestone Jul 25, 2022
@bookup
Copy link

bookup commented Dec 15, 2022

support queryMessage(String topic, String key, int maxNum, long begin, long end) ?

@francisoliverlee francisoliverlee linked a pull request Sep 14, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants