70cfd4d437
Improvement - SCRAM secret's should be better protected with Zookeeper ACLs Bug - Refresh consumer metadata more frequently for unknown subscribed topics - OffsetValidationTest fails validation with "Current position greater than the total number of consumed records" - Failure in kafka/tests/kafkatest/tests/core/security_rolling_upgrade_test.py - Broker level configuration 'log.segment.bytes' not used when 'segment.bytes' not configured per topic. - Kafka Streams - unable to add state stores when using wildcard topics on the source - Streams State transition ASCII diagrams need fixing and polishing - KafkaConsumer: ConsumerConfig gets logged twice. - docker/run_tests.sh should set up /opt/kafka-dev to be the source directory - Config validation in Connector plugins need to compare against both canonical and simple class names - Stream thread getting into deadlock state while trying to get rocksdb lock in retryWithBackoff - SessionStore.fetch(key) is a performance bottleneck - log.message.timestamp.type=LogAppendTime breaks Kafka based consumers - Querying window store may return unwanted keys - Kafka Secure Migrator tool doesn't secure all the nodes - Kafka Connect does not log connector configuration errors - Make ProduceRequest thread-safe - Add streams tests with brokers failing - Document that stores must not be closed when Processors are closed - remove controller concurrent access to non-threadsafe NetworkClient, Selector, and SSLEngine - testReprocessingFromScratch unit test failure - StreamThread should catch InvalidTopicException - running multiple kafka streams instances causes one or more instance to get into file contention - Increase number of Streams producer retries from the default of 0 - Defer exception to the next pollOnce() if consumer's fetch position has already increased - ThreadCacheTest.cacheOverheadsSmallValues fails intermittently - KafkaConsumer.poll throws IllegalStateException
79 lines
2.2 KiB
Makefile
79 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2017/05/10 18:14:06 fhajny Exp $
|
|
|
|
DISTNAME= kafka_${SCALA_VERSION}-0.10.2.1
|
|
PKGNAME= ${DISTNAME:S/_${SCALA_VERSION}//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=kafka/${PKGVERSION_NOREV}/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
HOMEPAGE= http://kafka.apache.org/
|
|
COMMENT= Distributed streaming platform
|
|
LICENSE= apache-2.0 AND cddl-1.0
|
|
|
|
DEPENDS+= zookeeper-[0-9]*:../../devel/zookeeper
|
|
|
|
USE_JAVA2= 7
|
|
USE_LANGUAGES= # none
|
|
|
|
NO_BUILD= yes
|
|
|
|
SCALA_VERSION= 2.12
|
|
|
|
REPLACE_SH+= bin/connect-* bin/kafka-*
|
|
|
|
FILES_SUBST+= KAFKA_USER=${KAFKA_USER} KAFKA_GROUP=${KAFKA_GROUP}
|
|
|
|
PKG_SYSCONFSUBDIR= kafka
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= KAFKA_DATADIR KAFKA_LOGDIR KAFKA_USER KAFKA_GROUP VARBASE
|
|
|
|
KAFKA_DATADIR?= ${VARBASE}/db/kafka
|
|
KAFKA_LOGDIR?= ${VARBASE}/log/kafka
|
|
KAFKA_USER?= kafka
|
|
KAFKA_GROUP?= kafka
|
|
|
|
PKG_GROUPS+= ${KAFKA_GROUP}
|
|
PKG_USERS+= ${KAFKA_USER}:${KAFKA_GROUP}
|
|
PKG_GECOS.${KAFKA_USER}=Kafka service user
|
|
PKG_HOME.${KAFKA_USER}= ${KAFKA_DATADIR}
|
|
|
|
OWN_DIRS_PERMS+= ${KAFKA_DATADIR} ${KAFKA_USER} ${KAFKA_GROUP} 0755
|
|
OWN_DIRS_PERMS+= ${KAFKA_LOGDIR} ${KAFKA_USER} ${KAFKA_GROUP} 0755
|
|
|
|
CONFIG_FILES= consumer log4j producer server tools-log4j \
|
|
connect-console-sink connect-console-source \
|
|
connect-distributed connect-file-sink \
|
|
connect-file-source connect-log4j \
|
|
connect-standalone
|
|
|
|
.for file in ${CONFIG_FILES}
|
|
CONF_FILES+= share/examples/kafka/${file}.properties \
|
|
${PKG_SYSCONFDIR}/${file}.properties
|
|
.endfor
|
|
|
|
SUBST_CLASSES+= path
|
|
SUBST_STAGE.path= pre-configure
|
|
SUBST_MESSAGE.path= Fixing default paths
|
|
SUBST_FILES.path= bin/kafka-run-class.sh bin/kafka-server-start.sh
|
|
SUBST_FILES.path+= config/server.properties
|
|
SUBST_VARS.path= KAFKA_DATADIR KAFKA_LOGDIR PKG_SYSCONFDIR PKG_JAVA_HOME
|
|
|
|
INSTALLATION_DIRS+= bin share/examples/kafka lib/java/kafka/libs
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/connect-*.sh \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/kafka-*.sh \
|
|
${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/libs/*.jar \
|
|
${DESTDIR}${PREFIX}/lib/java/kafka/libs
|
|
.for file in ${CONFIG_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/config/${file}.properties \
|
|
${DESTDIR}${PREFIX}/share/examples/kafka
|
|
.endfor
|
|
|
|
.include "../../mk/java-vm.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|