e144b06114
* Upgrade Confluent OSS from 5.2.0 to 5.2.1 * Changed http to https
25 lines
745 B
Ruby
25 lines
745 B
Ruby
class ConfluentOss < Formula
|
|
desc "Developer-optimized distribution of Apache Kafka"
|
|
homepage "https://www.confluent.io/product/confluent-open-source/"
|
|
url "https://packages.confluent.io/archive/5.2/confluent-5.2.1-2.12.tar.gz"
|
|
version "5.2.1"
|
|
sha256 "11fdcc557aca782e87352ed6e655c37c71fb7b3a003796ee956970b01dedbbb1"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8"
|
|
|
|
conflicts_with "kafka", :because => "kafka also ships with identically named Kafka related executables"
|
|
|
|
def install
|
|
prefix.install "bin"
|
|
rm_rf "#{bin}/windows"
|
|
prefix.install "etc"
|
|
prefix.install "share"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/confluent", "current"
|
|
assert_match "schema-registry", shell_output("#{bin}/confluent list")
|
|
end
|
|
end
|