diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c732390..723f616b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog +- 4.3.3 + - Catch `exit` exception when group coordinator calls group member (owner) process. + - Add `unknown_topic_cache_ttl` option in client config. + - Doc improvements. + - 4.3.2 - - Upgrade kafka_protocol from 4.1.9 to 4.1.10 for partition leader discover/connect timeout fix. + - Upgrade kafka_protocol from 4.1.9 to 4.1.10 for partition leader discover/connect timeout fix. - 4.3.1 - Fixed `brod_client:stop_consumer` so that it doesn't crash the client process if an unknown consumer is given as argument. diff --git a/src/brod_group_coordinator.erl b/src/brod_group_coordinator.erl index cd7d7e86..9efb3a86 100644 --- a/src/brod_group_coordinator.erl +++ b/src/brod_group_coordinator.erl @@ -79,8 +79,10 @@ try EXPR catch - exit:{noproc, {gen_server, call, [MemberPid | _]}} -> - exit({shutdown, member_down}) + exit:{noproc, _} -> + exit({shutdown, member_down}); + exit:{Reason, _} -> + exit({shutdown, {member_down, Reason}}) end). -type config() :: brod:group_config().