Current section

113 Versions

Jump to

Compare versions

6 files changed
+10 additions
-8 deletions
  @@ -23,5 +23,5 @@
23 23 [{<<"kafka_protocol">>,
24 24 [{<<"app">>,<<"kafka_protocol">>},
25 25 {<<"optional">>,false},
26 - {<<"requirement">>,<<"4.1.10">>}]}]}.
27 - {<<"version">>,<<"4.3.3">>}.
26 + {<<"requirement">>,<<"4.2.3">>}]}]}.
27 + {<<"version">>,<<"4.4.0">>}.
  @@ -1,4 +1,4 @@
1 - {deps, [{kafka_protocol, "4.1.10"}]}.
1 + {deps, [{kafka_protocol, "4.2.3"}]}.
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]}.
  @@ -14,6 +14,8 @@
14 14 , {proper, "1.4.0"}
15 15 , {snappyer, "1.2.9"}
16 16 , {snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {branch, "1.0.10"}}}
17 + , {lz4b, "0.0.11"}
18 + , {ezstd, "1.1.0"}
17 19 ]},
18 20 {erl_opts, [warnings_as_errors, {d, build_brod_cli}]}
19 21 ]}
  @@ -1,6 +1,6 @@
1 1 {application,brod,
2 2 [{description,"Apache Kafka Erlang client library"},
3 - {vsn,"4.3.3"},
3 + {vsn,"4.4.0"},
4 4 {registered,[]},
5 5 {applications,[kernel,stdlib,kafka_protocol]},
6 6 {env,[]},
  @@ -241,7 +241,7 @@
241 241 {ok, partition()}).
242 242 -type partitioner() :: partition_fun() | random | hash.
243 243 -type produce_ack_cb() :: fun((partition(), offset()) -> _).
244 - -type compression() :: no_compression | gzip | snappy.
244 + -type compression() :: no_compression | gzip | snappy | lz4 | zstd.
245 245 -type call_ref() :: #brod_call_ref{}. %% A record with caller, callee, and ref.
246 246 -type produce_result() :: brod_produce_req_buffered
247 247 | brod_produce_req_acked.
  @@ -139,8 +139,8 @@ lookup_vsn_range(Conn, API) ->
139 139 %% Do not change range without verification.
140 140 supported_versions(API) ->
141 141 case API of
142 - produce -> {0, 5};
143 - fetch -> {0, 7};
142 + produce -> {0, 7};
143 + fetch -> {0, 10};
144 144 list_offsets -> {0, 2};
145 145 metadata -> {0, 2};
146 146 offset_commit -> {2, 2};
Loading more files…