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

Return broker error messages for create topic, create partitions #539

Merged
merged 2 commits into from Dec 13, 2018

Conversation

edoardocomar
Copy link
Collaborator

@edoardocomar edoardocomar commented Dec 13, 2018

On failing to create a Topic or adding partitions, if the broker returns an error message,
this is now passed back into the JS error.

fixes #538

note : currently librdkafka is returning a fixed error message when create partitions fails,
that will being fixed with a separate PR to librdkafka see confluentinc/librdkafka#2154

Co-authored-by: Edoardo Comar ecomar@uk.ibm.com
Co-authored-by: Mickael Maison mickael.maison@gmail.com

On failing to create a Topic or adding partitions, if the broker returns an error message,
this is now passed back into the JS error.

fixes Blizzard#538

Note : currently librdkafka is returning a fixed error message when create partitions fails,
that will being fixed with a separate PR to librdkafka see
confluentinc/librdkafka#2154

Co-authored-by: Edoardo Comar <ecomar@uk.ibm.com>
Co-authored-by: Mickael Maison <mickael.maison@gmail.com>
@webmakersteve
Copy link
Contributor

Looks good to me! Going to merge :)

@webmakersteve webmakersteve merged commit 324fdbd into Blizzard:master Dec 13, 2018
@edoardocomar edoardocomar deleted the admin_error_messages branch December 13, 2018 21:33
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.

AdminClient::CreateTopic only returns the error code and not the included description
2 participants