From 21c4f1aac330a588af72c55e8d5221c9151bbfea Mon Sep 17 00:00:00 2001 From: zmstone Date: Sat, 14 Dec 2024 15:00:36 +0100 Subject: [PATCH 1/2] fix: handle all exit exceptions when coordinator calls member process --- src/brod_group_coordinator.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(). From 2b018ea89060066ab625ded6a623aa2214bc4588 Mon Sep 17 00:00:00 2001 From: zmstone Date: Sat, 14 Dec 2024 15:00:53 +0100 Subject: [PATCH 2/2] docs: add changelogs since 4.3.2 --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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.