-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
/
kafkacat.rb
32 lines (28 loc) · 972 Bytes
/
kafkacat.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class Kafkacat < Formula
desc "Generic command-line non-JVM Apache Kafka producer and consumer"
homepage "https://github.com/edenhill/kafkacat"
url "https://github.com/edenhill/kafkacat.git",
tag: "1.6.0",
revision: "3cd845bf782296b3e8eb382020173782281746d2"
license "BSD-2-Clause"
bottle do
cellar :any
sha256 "b24a6909714b2d35a1255dd938964ebf200b6f6107c8b385596eb94c7111bddd" => :catalina
sha256 "37db83112a083daec2d6d91c50e256ca899d43de19e8cd9e58f31a4cf630cab5" => :mojave
sha256 "12e0795c76f11c17bfd32f3d59c16ce81025084b925a1ed0cb4e676fc5be76b3" => :high_sierra
end
depends_on "avro-c"
depends_on "librdkafka"
depends_on "libserdes"
depends_on "yajl"
def install
system "./configure", "--prefix=#{prefix}",
"--enable-json",
"--enable-avro"
system "make"
system "make", "install"
end
test do
system bin/"kafkacat", "-X", "list"
end
end