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

I can request the current list of topics and partitions from the system partition leader #530

Closed
ThorbenLindhauer opened this issue Nov 8, 2017 · 2 comments
Assignees
Milestone

Comments

@ThorbenLindhauer
Copy link
Member

ThorbenLindhauer commented Nov 8, 2017

This is different to requesting the cluster topology in that it includes all the partitions that should be currently available, regardless whether they are known to the broker receiving the request. The tradeoff is that this request will only work if the system partition leader is reachable.

The response should contain a list of all partitions and to which topic they belong. This allows users to inspect which topics should be there with how many partitions.

@ThorbenLindhauer
Copy link
Member Author

@jsam, here's how the request works:

{
  "partitions": [
    {"id": 1,
     "topic": "foo"},
    ...
  ]
}

The system topic is currently not included in the response.

@ThorbenLindhauer
Copy link
Member Author

Follow-up issue: #577

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

No branches or pull requests

2 participants