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

Add config entries and replica assignment to create topic #1157

Merged
merged 2 commits into from
Jan 8, 2019

Conversation

jlandersen
Copy link
Contributor

@jlandersen jlandersen commented Dec 27, 2018

Adds support for providing config entries and explicit replica assignment
when creating new topics.

The existing create topic implementation has been cleaned up a bit,
as it didn't make use of the existing API support setup (it was fixed to protocol version 1).
As part of the cleanup, version 0 and 1 of the request is now supported.

The send controller request was also cleaned up a bit. A new function sendRequestToBroker
provides a more robust way to send requests to a specific broker now.

Create Topic tests now skips version 0.10. The new describe configs request is used to validate config entries. This request is supported from 0.11+.

This addition is backwards compatible.

Adds support for providing config entries and explicit replica assignment
when creating new topics.

The existing create topic implementation has been cleaned up a bit,
as it didn't make use of the existing API support setup (it was fixed to protocol version 1).
As part of the cleanup, version 0 and 1 of the request is now supported.

The send controller request was also cleaned up a bit. A new function sendRequestToBroker
provides a more robust way to send requests to a specific broker now.
@jlandersen
Copy link
Contributor Author

@hyperlink updated PR based on your comments, let me know of any other suggestions :-)

@hyperlink hyperlink merged commit a8bcdd4 into SOHU-Co:master Jan 8, 2019
@hyperlink
Copy link
Collaborator

Thanks @jlandersen !

@jlandersen
Copy link
Contributor Author

Thanks @jlandersen !

Thanks for the merge! Appreciate it 👍

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

Successfully merging this pull request may close these issues.

2 participants