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

[Feature] Support subscription info management on Dashboard #4400

Closed
2 of 3 tasks
lrhkobe opened this issue Aug 24, 2023 · 2 comments
Closed
2 of 3 tasks

[Feature] Support subscription info management on Dashboard #4400

lrhkobe opened this issue Aug 24, 2023 · 2 comments
Labels

Comments

@lrhkobe
Copy link
Contributor

lrhkobe commented Aug 24, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Feature Request

Provide visual support for eventmesh subscription information management on the dashboard.

Components Interaction Diagram

dashboard(1)

Management Interface in EventMesh

  • create topic
http://127.0.0.1:10105/eventmesh/topic/create
Request Method:Post
Params:application/json
{
	"topic":"topic1;topic2"
}

Result:
{
	"retMessage":"success",
	"retCode":0
}
  • delete topic
http://127.0.0.1:10105/eventmesh/topic/delete
Request Method:Post
Params:application/json
{
	"topic":"topic1;topic2"
}

Result:
{
	"retMessage":"success",
	"retCode":0
}
  • query subscription
http://127.0.0.1:10105/eventmesh/subscrition/query
Request Method:Get

Result:
{
	"localTopicSet": ["topic1"],
	"subsrciption": [{
		"consumerGroup": "consumer-group-1111-AB0",
		"topic": "topic1",
		"subscriptionItem": {
			"topic": "topic1",
			"mode": "CLUSTERING",
			"type": "ASYNC"
		},
		"idcUrls": {
			"idc": ["http://127.0.0.1:8088/sub/test"]
		},
		"urls": ["http://127.0.0.1:8088/sub/test"],
		"httpAuthTypeMap": {				
		}
	}]
}
  • subscribe
http://127.0.0.1:10105/eventmesh/subscribe/local
Request Method:Post
Params:application/json

{
	"url":"http://127.0.0.1:8088/sub/test",
	"consumerGroup":"group1",
	"topic":[{
			"mode":"CLUSTERING",
			"topic":"topic1",
			"type":"ASYNC"
	}]
}

Result:
{
	"retMessage": "success",
	"retCode": 0
}
  • unsubscribe
http://127.0.0.1:10105/eventmesh/unsubscribe/local
Request Method:Post
Params:application/json
{
	"url":"http://127.0.0.1:8088",
	"consumerGroup":"group1",
	"topic":["topic1"]
}

Result:
{
	"retMessage": "success",
	"retCode": 0
}

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Pil0tXia
Copy link
Member

Pil0tXia commented Jan 3, 2024

Subsequent Progress: https://docs.qq.com/doc/DQmhVbklUdGNNWGZi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants