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

Validate consumer groupId #244

Merged
merged 3 commits into from
Jan 16, 2019
Merged

Validate consumer groupId #244

merged 3 commits into from
Jan 16, 2019

Conversation

Nevon
Copy link
Collaborator

@Nevon Nevon commented Jan 16, 2019

This introduces a new devdependency, jest-extended. It's needed because jest doesn't natively support matching on both an error constructor as well as the message, so there was no way to differentiate between the missing groupId and the incorrect heartbeatInterval/sessionTimeout, other than manually catching and inspecting the error. See https://github.com/jest-community/jest-extended#tothrowwithmessagetype-message

Fixes #243

@Nevon Nevon requested a review from tulios January 16, 2019 10:32
@tulios
Copy link
Owner

tulios commented Jan 16, 2019

@Nevon add something to the readme to highlight the need of the groupId.

@Nevon Nevon merged commit f7b76e3 into master Jan 16, 2019
@Nevon Nevon deleted the throw-on-missing-groupid branch January 16, 2019 12:53
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