homebrew-core/Formula/confluent-oss.rb
Avinash Mohan 109ed18f9c
confluent-oss 5.1.1
Closes #36961.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-02-15 00:44:03 +08:00

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.1/confluent-5.1.1-2.11.tar.gz"
version "5.1.1"
sha256 "918d46898ca225b8e4aed1df15ce553bfb55fe4f246bb0eb9551fc53be0e1fc1"
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