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

Fixed: ListGroup throws exception if group doesn't exist #43

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Fixed: ListGroup throws exception if group doesn't exist #43

merged 1 commit into from
Feb 14, 2017

Conversation

mhowlett
Copy link
Contributor

Fixes issue: #34 as suggested by @bschmidtbauer

Note: GroupInfo is now a class, not a struct which allows ListGroup to return null if the group doesn't exist.

TODO: as part of this PR let's re-consider whether any of our other structs would be better off as classes (almost certainly yes). https://msdn.microsoft.com/en-us/library/ms229017.aspx

Also re-think organization of files (struct folder is getting less appropriate).

Also: are QueryGroup and QueryGroups better names for methods ListGroup and ListGroups? (is ListGroup a bit wrong?). The 'Query' names would be consistent with QueryWatermarkOffsets. A problem with this idea is the corresponding function in librdkafka is list_groups. So maybe QueryGroup and ListGroups? don't like the inconsistency. I guess the current names are the best given all the constraints.

@mhowlett mhowlett mentioned this pull request Feb 13, 2017
@mhowlett mhowlett changed the title Fixed: ListGroup throws exception if group doesn't exist [WIP] Fixed: ListGroup throws exception if group doesn't exist Feb 14, 2017
@mhowlett mhowlett changed the base branch from master to 0.9.2.x February 14, 2017 01:18
@mhowlett mhowlett merged commit 9a6e48c into confluentinc:0.9.2.x Feb 14, 2017
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.

1 participant