Просмотр исходного кода

Merge pull request #13896 from zmstone/0930-upgrade-pulsar-from-0.8.3-to-0.8.4

fix(pulsar): upgrade client from 0.8.3 to 0.8.4
zmstone 1 год назад
Родитель
Сommit
9a2c4d0b59

+ 1 - 1
apps/emqx_bridge_pulsar/mix.exs

@@ -25,7 +25,7 @@ defmodule EMQXBridgePulsar.MixProject do
     [
       UMP.common_dep(:crc32cer),
       UMP.common_dep(:snappyer),
-      {:pulsar, github: "emqx/pulsar-client-erl", tag: "0.8.3"},
+      {:pulsar, github: "emqx/pulsar-client-erl", tag: "0.8.4"},
       {:emqx_connector, in_umbrella: true, runtime: false},
       {:emqx_resource, in_umbrella: true},
       {:emqx_bridge, in_umbrella: true, runtime: false}

+ 1 - 1
apps/emqx_bridge_pulsar/rebar.config

@@ -2,7 +2,7 @@
 
 {erl_opts, [debug_info]}.
 {deps, [
-    {pulsar, {git, "https://github.com/emqx/pulsar-client-erl.git", {tag, "0.8.3"}}},
+    {pulsar, {git, "https://github.com/emqx/pulsar-client-erl.git", {tag, "0.8.4"}}},
     {emqx_connector, {path, "../../apps/emqx_connector"}},
     {emqx_resource, {path, "../../apps/emqx_resource"}},
     {emqx_bridge, {path, "../../apps/emqx_bridge"}}

+ 4 - 0
changes/ee/fix-13896.en.md

@@ -0,0 +1,4 @@
+Upgrade pulsar client from `0.8.3` to `0.8.4` (see [pulsar#61](https://github.com/emqx/pulsar-client-erl/pull/61).
+
+Piror this fix, if the producer client experiences a 'socket error' (but not a normal 'socket close'), it may continue sending data to a clsoed socket without any error handling.
+From EMQX dashboard, user may observe that the 'totoal' counter keep increasing, but not the other counters: 'success', 'failed' and 'dropped'.