Skip to content

Commit

Permalink
fix(kafka producer): drop data more aggresively when under high memor…
Browse files Browse the repository at this point in the history
  • Loading branch information
thalesmg committed Feb 3, 2025
1 parent e2af925 commit a542af4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/emqx_bridge_azure_event_hub/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{erl_opts, [debug_info]}.
{deps, [
{wolff, "4.0.5"},
{wolff, "4.0.6"},
{kafka_protocol, "4.1.10"},
{brod_gssapi, "0.1.3"},
{brod, "4.3.1"},
Expand Down
2 changes: 1 addition & 1 deletion apps/emqx_bridge_confluent/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{erl_opts, [debug_info]}.
{deps, [
{wolff, "4.0.5"},
{wolff, "4.0.6"},
{kafka_protocol, "4.1.10"},
{brod_gssapi, "0.1.3"},
{brod, "4.3.1"},
Expand Down
2 changes: 1 addition & 1 deletion apps/emqx_bridge_kafka/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{erl_opts, [debug_info]}.
{deps, [
{wolff, "4.0.5"},
{wolff, "4.0.6"},
{kafka_protocol, "4.1.10"},
{brod_gssapi, "0.1.3"},
{brod, "4.3.1"},
Expand Down
1 change: 1 addition & 0 deletions changes/ee/fix-14631.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Now, when enabling Memory Overload Protection in Kafka / Azure Event Hub / Confluent Producer Actions, buffered data will be dropped more aggressively when the system reaches the high memory watermark, reducing the risk of reaching out of memory state.
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ defmodule EMQXUmbrella.MixProject do
def common_dep(:cowboy), do: {:cowboy, github: "emqx/cowboy", tag: "2.9.2", override: true}
def common_dep(:jsone), do: {:jsone, github: "emqx/jsone", tag: "1.7.1", override: true}
def common_dep(:ecpool), do: {:ecpool, github: "emqx/ecpool", tag: "0.6.1", override: true}
def common_dep(:replayq), do: {:replayq, github: "emqx/replayq", tag: "0.3.10", override: true}
def common_dep(:replayq), do: {:replayq, github: "emqx/replayq", tag: "0.3.12", override: true}
def common_dep(:jsx), do: {:jsx, github: "talentdeficit/jsx", tag: "v3.1.0", override: true}
# in conflict by emqtt and hocon
def common_dep(:getopt), do: {:getopt, "1.0.2", override: true}
Expand Down Expand Up @@ -275,7 +275,7 @@ defmodule EMQXUmbrella.MixProject do
def common_dep(:influxdb),
do: {:influxdb, github: "emqx/influxdb-client-erl", tag: "1.1.13", override: true}

def common_dep(:wolff), do: {:wolff, "4.0.5"}
def common_dep(:wolff), do: {:wolff, "4.0.6"}
def common_dep(:brod_gssapi), do: {:brod_gssapi, "0.1.3"}

def common_dep(:kafka_protocol),
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
{grpc, {git, "https://github.com/emqx/grpc-erl", {tag, "0.6.12"}}},
{minirest, {git, "https://github.com/emqx/minirest", {tag, "1.4.4"}}},
{ecpool, {git, "https://github.com/emqx/ecpool", {tag, "0.6.1"}}},
{replayq, {git, "https://github.com/emqx/replayq.git", {tag, "0.3.10"}}},
{replayq, {git, "https://github.com/emqx/replayq.git", {tag, "0.3.12"}}},
{emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.13.5"}}},
{rulesql, {git, "https://github.com/emqx/rulesql", {tag, "0.2.1"}}},
% NOTE: depends on recon 2.5.x
Expand Down

0 comments on commit a542af4

Please sign in to comment.