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

API: Broker Model to contain the kafka version of the broker #362

Open
nareshv opened this issue Oct 11, 2018 · 2 comments
Open

API: Broker Model to contain the kafka version of the broker #362

nareshv opened this issue Oct 11, 2018 · 2 comments
Labels
functionality A feature request.

Comments

@nareshv
Copy link
Contributor

nareshv commented Oct 11, 2018

Not sure if its possible to include the version # of the broker as part of the Broker Model so that JSON response consumers can leverage this.

@sudoa sudoa self-assigned this Nov 21, 2018
@sudoa
Copy link
Contributor

sudoa commented Nov 21, 2018

Do you mean the Kafka API version or the internal Kafka release version?

@sudoa
Copy link
Contributor

sudoa commented Nov 22, 2018

We discussed two ways to do this.
Method 1: infer broker version from ApiVersion. KIP-35 provided endpoint for ApiVersion. However, this could be inaccurate and also does not account for hot fixes.
Method 2: get version and commit info from JMX. KIP-278 provided an executable to query AppInfo to get version info. Since JMX port might not be available, we need to either add an endpoint to retrieve the information or report it in metricsreporter.
The final solution is pending further investigation.

@efeg efeg unassigned sudoa May 21, 2019
@efeg efeg added the functionality A feature request. label May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
functionality A feature request.
Projects
None yet
Development

No branches or pull requests

3 participants