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

wip: add basic mocks for consumer group responses #1631

Closed

Conversation

carldunham
Copy link

@carldunham carldunham commented Feb 25, 2020

Added some response mocks:

  • MockJoinGroupResponse
  • MockLeaveGroupResponse
  • MockSyncGroupResponse
  • MockHeartbeatResponse

Wasn't quite sure where to put unit tests for these, if they are needed.

Addresses #1577

@carldunham carldunham requested a review from bai as a code owner February 25, 2020 21:43
@ghost ghost added the cla-needed label Feb 25, 2020
@carldunham carldunham force-pushed the cd/1577/consumer-group-mocks branch 2 times, most recently from f549c07 to 6c43add Compare February 27, 2020 21:06
@carldunham carldunham changed the title add basic mocks for consumer group responses wip: add basic mocks for consumer group responses Feb 27, 2020
}
}

func (m *MockJoinGroupResponse) For(reqBody versionedDecoder) encoder {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return type should be encodeWithHeader

@gunturaf
Copy link

I think this PR is already solved by #1750 ?

@ghost
Copy link

ghost commented Mar 16, 2021

Thank you for your contribution! However, this pull request has not had any activity in the past 90 days and will be closed in 30 days if no updates occur.
If you believe the changes are still valid then please verify your branch has no conflicts with master and rebase if needed. If you are awaiting a (re-)review then please let us know.

@ghost ghost added the stale Issues and pull requests without any recent activity label Mar 16, 2021
@bai bai closed this Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues and pull requests without any recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants