25 lines
749 B
Ruby
25 lines
749 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.0/confluent-oss-5.0.0-2.11.tar.gz"
|
|
version "5.0.0"
|
|
sha256 "05886d64c516af975621875f11e3f7657bf6b6169354b3496141150b1873c1ea"
|
|
|
|
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
|