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

fix(pulsar producer): bump pulsar-client-erl -> 0.8.5

Fixes https://emqx.atlassian.net/browse/EMQX-13230
Thales Macedo Garitezi 1 год назад
Родитель
Сommit
6b735fc3c0

+ 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.4"},
+      {:pulsar, github: "emqx/pulsar-client-erl", tag: "0.8.5"},
       {: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.4"}}},
+    {pulsar, {git, "https://github.com/emqx/pulsar-client-erl.git", {tag, "0.8.5"}}},
     {emqx_connector, {path, "../../apps/emqx_connector"}},
     {emqx_resource, {path, "../../apps/emqx_resource"}},
     {emqx_bridge, {path, "../../apps/emqx_bridge"}}

+ 3 - 0
changes/ee/fix-13959.en.md

@@ -0,0 +1,3 @@
+Upgrade pulsar client from `0.8.4` to `0.8.5` (see [pulsar#62](https://github.com/emqx/pulsar-client-erl/pull/62).
+
+Prior to this fix, if the producer attempt to contact the client process in certain race conditions, it could stop and not be restarted.  The only workaround would then to manually restart the action.