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.1-2.11.tar.gz"
|
|
version "5.0.1"
|
|
sha256 "9d2a3b744f982e4004142411c49fb98952b768723911c9421b0302f15aea8c0d"
|
|
|
|
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
|