Packages
brod
4.4.2
4.5.7
4.5.6
4.5.5
4.5.4
4.5.3
4.5.2
4.5.1
4.5.0
4.4.7
4.4.6
4.4.5
4.4.4
4.4.3
4.4.2
4.4.1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.2.0
4.1.1
4.1.0
4.0.0
3.19.1
3.19.0
3.18.0
3.17.1
3.17.0
3.16.5
3.16.4
3.16.3
3.16.2
3.16.1
3.16.0
3.15.6
3.15.5
3.15.4
3.15.3
3.15.1
3.15.0
3.14.0
3.13.0
3.12.0
3.11.0
3.10.0
3.9.5
3.9.3
3.9.2
3.9.1
3.9.0
3.8.1
3.8.0
3.7.11
3.7.10
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.2
3.6.1
3.6.0
3.5.2
3.5.1
3.5.0
3.4.0
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.0
3.0.0
2.5.0
2.4.1
2.4.0
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.1
2.2.16
2.2.15
2.2.14
2.2.12
2.2.11
2.2.10
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.12
2.1.11
2.1.10
2.1.8
2.1.7
2.1.4
2.1.2
2.0.0
Apache Kafka Erlang client library
Current section
113 Versions
Jump to
Current section
113 Versions
Compare versions
8
files changed
+80
additions
-34
deletions
| @@ -1,13 +1,18 @@ | |
| 1 | - KAFKA_VERSION ?= 3.6 |
| 1 | + KAFKA_VERSION ?= 4.0 |
| 2 2 | export KAFKA_VERSION |
| 3 | + |
| 4 | + .PHONY: all |
| 3 5 | all: compile |
| 4 6 | |
| 7 | + .PHONY: compile |
| 5 8 | compile: |
| 6 9 | @rebar3 compile |
| 7 10 | |
| 11 | + .PHONY: lint |
| 8 12 | lint: |
| 9 13 | @rebar3 lint |
| 10 14 | |
| 15 | + .PHONY: test-env |
| 11 16 | test-env: |
| 12 17 | @./scripts/setup-test-env.sh |
| 13 18 | @mkdir -p ./test/data/ssl |
| @@ -15,19 +20,26 @@ test-env: | |
| 15 20 | @docker cp kafka-1:/localhost-client-key.pem ./test/data/ssl/client-key.pem |
| 16 21 | @docker cp kafka-1:/localhost-client-crt.pem ./test/data/ssl/client-crt.pem |
| 17 22 | |
| 23 | + .PHONY: ut |
| 18 24 | ut: |
| 19 25 | @rebar3 eunit -v --cover_export_name ut-$(KAFKA_VERSION) |
| 20 26 | |
| 21 | - # version check, eunit and all common tests |
| 22 | - t: ut |
| 27 | + .PHONY: ct |
| 28 | + ct: |
| 23 29 | @rebar3 ct -v --cover_export_name ct-$(KAFKA_VERSION) |
| 24 30 | |
| 31 | + # version check, eunit and all common tests |
| 32 | + .PHONY: t |
| 33 | + t: ut ct |
| 34 | + |
| 35 | + .PHONY: clean |
| 25 36 | clean: |
| 26 37 | @rebar3 clean |
| 27 38 | @rm -rf _build |
| 28 39 | @rm -rf ebin deps doc |
| 29 40 | @rm -f pipe.testdata |
| 30 41 | |
| 42 | + .PHONY: hex-publish |
| 31 43 | hex-publish: clean |
| 32 44 | @rebar3 hex publish --repo=hexpm |
| 33 45 | @rebar3 hex build |
| @@ -35,8 +47,10 @@ hex-publish: clean | |
| 35 47 | ## tests that require kafka running at localhost |
| 36 48 | INTEGRATION_CTS = brod_cg_commits brod_client brod_compression brod_consumer brod_producer brod_group_subscriber brod_topic_subscriber brod |
| 37 49 | |
| 50 | + .PHONY: cover |
| 38 51 | cover: |
| 39 52 | @rebar3 cover -v |
| 40 53 | |
| 54 | + .PHONY: dialyzer |
| 41 55 | dialyzer: |
| 42 56 | @rebar3 dialyzer |
| @@ -23,5 +23,5 @@ | |
| 23 23 | [{<<"kafka_protocol">>, |
| 24 24 | [{<<"app">>,<<"kafka_protocol">>}, |
| 25 25 | {<<"optional">>,false}, |
| 26 | - {<<"requirement">>,<<"4.2.5">>}]}]}. |
| 27 | - {<<"version">>,<<"4.4.1">>}. |
| 26 | + {<<"requirement">>,<<"4.2.6">>}]}]}. |
| 27 | + {<<"version">>,<<"4.4.2">>}. |
| @@ -60,10 +60,6 @@ | |
| 60 60 | |
| 61 61 | -define(KAFKA_0_9, {0, 9}). |
| 62 62 | -define(KAFKA_0_10, {0, 10}). |
| 63 | - -define(KAFKA_0_11, {0, 11}). |
| 64 | - -define(KAFKA_1_0, {1, 0}). |
| 65 | - -define(KAFKA_1_1, {1, 1}). |
| 66 | - -define(LATEST_KAFKA_VERSION, ?KAFKA_1_1). |
| 67 63 | |
| 68 64 | -ifdef(OTP_RELEASE). |
| 69 65 | -define(BIND_STACKTRACE(Var), :Var). |
| @@ -1,4 +1,4 @@ | |
| 1 | - {deps, [{kafka_protocol, "4.2.5"}]}. |
| 1 | + {deps, [{kafka_protocol, "4.2.6"}]}. |
| 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]}. |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {application,brod, |
| 2 2 | [{description,"Apache Kafka Erlang client library"}, |
| 3 | - {vsn,"4.4.1"}, |
| 3 | + {vsn,"4.4.2"}, |
| 4 4 | {registered,[]}, |
| 5 5 | {applications,[kernel,stdlib,kafka_protocol]}, |
| 6 6 | {env,[]}, |
Loading more files…