Current section

113 Versions

Jump to

Compare versions

13 files changed
+233 additions
-49 deletions
  @@ -14,7 +14,7 @@
14 14 <<"src/brod_kafka_request.erl">>,<<"src/brod_producer.erl">>,
15 15 <<"src/brod_producer_buffer.erl">>,<<"src/brod_producers_sup.erl">>,
16 16 <<"src/brod_sup.erl">>,<<"src/brod_topic_subscriber.erl">>,
17 - <<"src/brod_utils.erl">>]}.
17 + <<"src/brod_topic_subscriber_cb_fun.erl">>,<<"src/brod_utils.erl">>]}.
18 18 {<<"licenses">>,[<<"Apache License 2.0">>]}.
19 19 {<<"links">>,[{<<"Github">>,<<"https://github.com/klarna/brod">>}]}.
20 20 {<<"name">>,<<"brod">>}.
  @@ -27,4 +27,4 @@
27 27 [{<<"app">>,<<"supervisor3">>},
28 28 {<<"optional">>,false},
29 29 {<<"requirement">>,<<"1.1.11">>}]}]}.
30 - {<<"version">>,<<"3.13.0">>}.
30 + {<<"version">>,<<"3.14.0">>}.
  @@ -35,6 +35,12 @@
35 35 , node_id :: integer()
36 36 }).
37 37
38 + -record(cbm_init_data,
39 + { committed_offsets :: brod_topic_subscriber:committed_offsets()
40 + , cb_fun :: brod_topic_subscriber:cb_fun()
41 + , cb_data :: term()
42 + }).
43 +
38 44 -type sasl_opt() :: {plain, User :: string() | binary(),
39 45 Pass :: string() | binary() |
40 46 fun(() -> string() | binary())}
  @@ -2,7 +2,7 @@
2 2 , {kafka_protocol, "2.3.6"}
3 3 ]}.
4 4 {edoc_opts, [{preprocess, true}, {macros, [{build_brod_cli, true}]}]}.
5 - {erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,warn_obsolete_guard,debug_info]}.
5 + {erl_opts, [warn_unused_vars,warn_shadow_vars,warn_obsolete_guard,debug_info]}.
6 6 {xref_checks, [undefined_function_calls, undefined_functions,
7 7 locals_not_used, deprecated_function_calls,
8 8 deprecated_functions]}.
  @@ -2,7 +2,7 @@ IsRebar3 = erlang:function_exported(rebar3, main, 1),
2 2 DocoptUrl = "https://github.com/zmstone/docopt-erl.git",
3 3 DocOptTag = "0.1.3",
4 4 DocoptDep = {docopt, {git, DocoptUrl, {branch, DocOptTag}}},
5 - Snabbkaffe = {snabbkaffe, {git, "https://github.com/klarna/snabbkaffe", {tag, "0.5.0"}}},
5 + Snabbkaffe = {snabbkaffe, {git, "https://github.com/klarna/snabbkaffe", {tag, "0.6.0"}}},
6 6 Profiles =
7 7 {profiles, [
8 8 {brod_cli, [
  @@ -1,6 +1,6 @@
1 1 {application,brod,
2 2 [{description,"Apache Kafka Erlang client library"},
3 - {vsn,"3.13.0"},
3 + {vsn,"3.14.0"},
4 4 {registered,[]},
5 5 {applications,[kernel,stdlib,kafka_protocol,supervisor3]},
6 6 {env,[]},
Loading more files…