Current section

113 Versions

Jump to

Compare versions

4 files changed
+9 additions
-6 deletions
  @@ -23,5 +23,5 @@
23 23 [{<<"kafka_protocol">>,
24 24 [{<<"app">>,<<"kafka_protocol">>},
25 25 {<<"optional">>,false},
26 - {<<"requirement">>,<<"4.2.8">>}]}]}.
27 - {<<"version">>,<<"4.4.6">>}.
26 + {<<"requirement">>,<<"4.3.0">>}]}]}.
27 + {<<"version">>,<<"4.4.7">>}.
  @@ -1,4 +1,4 @@
1 - {deps, [{kafka_protocol, "4.2.8"}]}.
1 + {deps, [{kafka_protocol, "4.3.0"}]}.
2 2 {project_plugins, [{rebar3_lint, "~> 3.2.5"}]}.
3 3 {edoc_opts, [{preprocess, true}]}.
4 4 {erl_opts, [warnings_as_errors, warn_unused_vars,warn_shadow_vars,warn_obsolete_guard,debug_info]}.
  @@ -1,6 +1,6 @@
1 1 {application,brod,
2 2 [{description,"Apache Kafka Erlang client library"},
3 - {vsn,"4.4.6"},
3 + {vsn,"4.4.7"},
4 4 {registered,[]},
5 5 {applications,[kernel,stdlib,kafka_protocol]},
6 6 {env,[]},
  @@ -373,8 +373,11 @@ handle_cast(_Cast, State) ->
373 373 %% Handling all non call/cast messages
374 374 %% @end
375 375 %%--------------------------------------------------------------------
376 - handle_info({'EXIT', Pid, _Reason}, #state{coordinator = Pid} = State) ->
377 - {stop, {shutdown, coordinator_failure}, State#state{coordinator = undefined}};
376 + handle_info({'EXIT', Pid, Reason}, #state{coordinator = Pid} = State) ->
377 + %% Coordinator is owned by self and never explictly shutdown,
378 + %% so there is no 'normal' exit, hence the warning level log.
379 + ?BROD_LOG_WARNING("Coordinator EXIT:~p", [Reason]),
380 + {stop, {shutdown, coordinator_failure}, State#state{coordinator = undefined}};
378 381 handle_info({'EXIT', Pid, Reason}, State) ->
379 382 case [TP || {TP, Pid1} <- maps:to_list(State#state.workers), Pid1 =:= Pid] of
380 383 [TopicPartition | _] ->