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

fix: update kafee consumer handle_failure/2 fn #119

Merged
merged 5 commits into from
Dec 13, 2024
Merged

Conversation

btkostner
Copy link
Contributor

Related Ticket(s)

N/A

Checklist

Problem

The built in Kafee.Consumer.handle_failure/2 function raises an error which causes problems down the line. It should instead return an :ok like the behaviour specifies.

Details

Change raise RuntimeError to Logger.error

@btkostner btkostner requested a review from msutkowski November 12, 2024 04:36
@btkostner btkostner self-assigned this Nov 12, 2024
@btkostner btkostner requested a review from a team as a code owner November 12, 2024 04:36
lib/kafee/consumer.ex Outdated Show resolved Hide resolved
@jondthomas jondthomas merged commit 4c12df7 into main Dec 13, 2024
12 checks passed
@jondthomas jondthomas deleted the btkostner-patch-1 branch December 13, 2024 15:19
parkerd pushed a commit that referenced this pull request Dec 17, 2024
An automated release has been created for you.
---


## [3.5.1](v3.5.0...v3.5.1)
(2024-12-13)


### Bug Fixes

* Improve Kafee exception handling
([#126](#126))
([fa5bd44](fa5bd44))
* Update kafee consumer handle_failure/2 fn
([#119](#119))
([4c12df7](4c12df7))


### Miscellaneous

* Correct documentation to include start.count metric
([#125](#125))
([3ab284c](3ab284c))
* Sync files with stordco/common-config-elixir
([#128](#128))
([3adffb8](3adffb8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants