Skip to content

Commit

Permalink
Apache Kafka: add 2.7.1 and 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
polynomial committed Jun 25, 2021
1 parent 93963c2 commit a8920a5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nixos/tests/kafka.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@ in with pkgs; {
kafka_2_4 = makeKafkaTest "kafka_2_4" apacheKafka_2_4;
kafka_2_5 = makeKafkaTest "kafka_2_5" apacheKafka_2_5;
kafka_2_6 = makeKafkaTest "kafka_2_6" apacheKafka_2_6;
kafka_2_7 = makeKafkaTest "kafka_2_7" apacheKafka_2_7;
kafka_2_8 = makeKafkaTest "kafka_2_8" apacheKafka_2_8;
}
12 changes: 12 additions & 0 deletions pkgs/servers/apache-kafka/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ let
sha256 = "1a2kd4r6f8z7qf886nnq9f350sblzzdi230j2hll7x156888573y";
jre = jre11;
};
"2.7" = {
kafkaVersion = "2.7.1";
scalaVersion = "2.13";
sha256 = "1qv6blf99211bc80xnd4k42r9v9c5vilyqkplyhsa6hqymg32gfa";
jre = jre11;
};
"2.8" = {
kafkaVersion = "2.8.0";
scalaVersion = "2.13";
sha256 = "1iljfjlp29m4s6gkja9fxkzj8a8p0qc0sfy8x4g1318kbnp818rz";
jre = jre11;
};
};
in

Expand Down
3 changes: 3 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ mapAliases ({
apacheKafka_2_1 = throw "kafka 2.1 is no longer supported. Please upgrade to a newer version."; # added 2020-12-21
apacheKafka_2_2 = throw "kafka 2.2 is no longer supported. Please upgrade to a newer version."; # added 2020-12-21
apacheKafka_2_3 = throw "kafka 2.3 is no longer supported. Please upgrade to a newer version."; # added 2020-12-21
apacheKafka_2_4 = throw "kafka 2.4 is no longer supported. Please upgrade to a newer version."; # added 2021-06-24
apacheKafka_2_5 = throw "kafka 2.5 is no longer supported. Please upgrade to a newer version."; # added 2021-06-24
apacheKafka_2_6 = throw "kafka 2.6 is no longer supported. Please upgrade to a newer version."; # added 2021-06-24
arduino_core = arduino-core; # added 2015-02-04
arora = throw "arora has been removed."; # added 2020-09-09
asciidocFull = asciidoc-full; # added 2014-06-22
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12613,10 +12613,12 @@ in
apacheAnt_1_9 = callPackage ../development/tools/build-managers/apache-ant/1.9.nix { };
ant = apacheAnt;

apacheKafka = apacheKafka_2_6;
apacheKafka = apacheKafka_2_8;
apacheKafka_2_4 = callPackage ../servers/apache-kafka { majorVersion = "2.4"; };
apacheKafka_2_5 = callPackage ../servers/apache-kafka { majorVersion = "2.5"; };
apacheKafka_2_6 = callPackage ../servers/apache-kafka { majorVersion = "2.6"; };
apacheKafka_2_7 = callPackage ../servers/apache-kafka { majorVersion = "2.7"; };
apacheKafka_2_8 = callPackage ../servers/apache-kafka { majorVersion = "2.8"; };

kt = callPackage ../tools/misc/kt {};

Expand Down

0 comments on commit a8920a5

Please sign in to comment.