d43cccea30
Changelog: Enhancements: * Consumer: Add support for printing message headers (-f ".. %h.. \n") * Producer: Add support for specifying message headers (-H name=value) * Emit current controllerId in metadata output, if supported * Add -F <file> to read config from file. Defaults to $KAFKACAT_CONFIG or ~/.config/kafkacat.conf. With some support for translating Java config properties to librdkafka counterparts. * Support Fixed key (-k ..) Fixes: * Make sure topic configuration is applied first * JSON: emit NULL keys and values as null rather than empty string * Fix tstype json output * Honour -c count in consumer mode by yielding https://github.com/edenhill/kafkacat/releases/tag/1.4.0 PR: 237156 Submitted by: Sergey Akhmatov (maintainer) Approved by: mentors (implicit)
28 lines
544 B
Makefile
28 lines
544 B
Makefile
# Created by: Victor Yagofarov <xnasx@yandex.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kafkacat
|
|
DISTVERSION= 1.4.0
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= sergey@akhmatov.ru
|
|
COMMENT= Generic command line non-JVM Apache Kafka producer and consumer
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= librdkafka.so:net/librdkafka
|
|
|
|
USES= gmake pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= edenhill
|
|
|
|
PLIST_FILES= bin/kafkacat
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kafkacat
|
|
|
|
.include <bsd.port.mk>
|