1
Files
specfiles/kafkacat/kafkacat.spec
Sergei Fedosov 1d8a4beba5 Initial commit
2019-07-18 14:20:46 +03:00

55 lines
1.3 KiB
RPMSpec

Name: kafkacat
Version: 1.3.1
Release: 1%{?dist}
Summary: Generic non-JVM producer and consumer for Apache Kafka
License: BSD-2-Clause
URL: https://github.com/edenhill/kafkacat
Source: %{version}.tar.gz
BuildRequires: zlib-devel
BuildRequires: librdkafka-devel
BuildRequires: yajl-devel
%description
kafkacat is a generic non-JVM producer and consumer for Apache Kafka 0.8,
think of it as a netcat for Kafka.
In producer mode kafkacat reads messages from stdin, delimited with a
configurable delimeter (-D, defaults to newline), and produces them to the
provided Kafka cluster (-b), topic (-t) and partition (-p).
In consumer mode kafkacat reads messages from a topic and partition and prints
them to stdout using the configured message delimiter.
kafkacat also features a Metadata list (-L) mode to display the current state
of the Kafka cluster and its topics and partitions.
kafkacat is fast and lightweight; statically linked it is no more than 150Kb.
%prep
%setup -q
%configure
%build
make
%install
rm -rf %{buildroot}
DESTDIR=%{buildroot} make install
%clean
rm -rf %{buildroot}
%files
%license LICENSE
%doc README.md
%{_bindir}/kafkacat
%changelog
* Wed Jun 03 2015 Magnus Edenhill <magnus@edenhill.se> 1.2.0-1
- Relase 1.2.0
* Fri Dec 19 2014 François Saint-Jacques <fsaintjacques@gmail.com> 1.1.0-1
- Initial RPM package