Apache Kafka upgrade to 3.x
This commit is contained in:
parent
7d682ef84f
commit
8231febc5d
3 changed files with 26 additions and 9 deletions
|
@ -74,6 +74,8 @@ let
|
|||
}) { inherit system; });
|
||||
|
||||
in with pkgs; {
|
||||
kafka_2_7 = makeKafkaTest "kafka_2_7" apacheKafka_2_7;
|
||||
kafka_2_8 = makeKafkaTest "kafka_2_8" apacheKafka_2_8;
|
||||
kafka_3_0 = makeKafkaTest "kafka_3_0" apacheKafka_3_0;
|
||||
kafka_3_1 = makeKafkaTest "kafka_3_1" apacheKafka_3_1;
|
||||
kafka = makeKafkaTest "kafka" apacheKafka;
|
||||
}
|
||||
|
|
|
@ -1,15 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, jdk8_headless, jdk11_headless, makeWrapper, bash, coreutils, gnugrep, gnused, ps,
|
||||
{ lib, stdenv, fetchurl, jdk17_headless, jdk11_headless, makeWrapper, bash, coreutils, gnugrep, gnused, ps,
|
||||
majorVersion ? "1.0" }:
|
||||
|
||||
let
|
||||
jre8 = jdk8_headless;
|
||||
jre11 = jdk11_headless;
|
||||
jre = jdk17_headless;
|
||||
versionMap = {
|
||||
"2.7" = {
|
||||
kafkaVersion = "2.7.1";
|
||||
"3.2" = {
|
||||
kafkaVersion = "3.2.1";
|
||||
scalaVersion = "2.13";
|
||||
sha256 = "1qv6blf99211bc80xnd4k42r9v9c5vilyqkplyhsa6hqymg32gfa";
|
||||
jre = jre11;
|
||||
sha256 = "440fe73d73ebb78ee0d7accbfd69f53e2281544cf18ea6672c85ef4f6734170b";
|
||||
jre = jre;
|
||||
};
|
||||
"3.1" = {
|
||||
kafkaVersion = "3.1.1";
|
||||
scalaVersion = "2.13";
|
||||
sha256 = "e91e50b0aaa499795a51d984a9d00953f9a2781c51314f47ae4df8b2db1a6c9a";
|
||||
jre = jre;
|
||||
};
|
||||
"3.0" = {
|
||||
kafkaVersion = "3.0.1";
|
||||
scalaVersion = "2.13";
|
||||
sha256 = "1a95abe81dc18eafee65f5bc440ff21ba0c49bd2c6d36bf7878ee8a2e2536097";
|
||||
jre = jre;
|
||||
};
|
||||
"2.8" = {
|
||||
kafkaVersion = "2.8.2";
|
||||
|
@ -17,6 +29,7 @@ let
|
|||
sha256 = "sha256-inZXZJSs8ivtEqF6E/ApoyUHn8vg38wUG3KhowP8mfQ=";
|
||||
jre = jre11;
|
||||
};
|
||||
|
||||
};
|
||||
in
|
||||
|
||||
|
|
|
@ -16010,9 +16010,11 @@ with pkgs;
|
|||
apacheAnt_1_9 = callPackage ../development/tools/build-managers/apache-ant/1.9.nix { };
|
||||
ant = apacheAnt;
|
||||
|
||||
apacheKafka = apacheKafka_2_8;
|
||||
apacheKafka_2_7 = callPackage ../servers/apache-kafka { majorVersion = "2.7"; };
|
||||
apacheKafka = apacheKafka_3_2;
|
||||
apacheKafka_2_8 = callPackage ../servers/apache-kafka { majorVersion = "2.8"; };
|
||||
apacheKafka_3_0 = callPackage ../servers/apache-kafka { majorVersion = "3.0"; };
|
||||
apacheKafka_3_1 = callPackage ../servers/apache-kafka { majorVersion = "3.1"; };
|
||||
apacheKafka_3_2 = callPackage ../servers/apache-kafka { majorVersion = "3.2"; };
|
||||
|
||||
kt = callPackage ../tools/misc/kt {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue