pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/librdkafka



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Thu Apr  5 09:01:16 UTC 2018

Modified Files:
        pkgsrc/devel/librdkafka: Makefile PLIST distinfo

Log Message:
devel/librdkafka: Update to 0.11.4.

Default changes

- socket.max.fails changed to 1 to provide same functionality (fail
  request immediately on error) now when retries are working properly
  again.
- fetch.max.bytes (new config property) is automatically adjusted to
  be >= message.max.bytes, and receive.message.max.bytes is
  automatically adjusted to be > fetch.max.bytes.

New features

- Message Headers support
- Java-compatible Murmur2 partitioners
- Add PKCS#12 Keystore support - ssl.keystore.location

Noteworthy fixes

- Formalise and fix Producer retries and retry-ordering
- Ordering is now retained despite retries if max.in.flight=1.
- Behaviour is now documented
- Fix timeouts for retried requests and properly handle retries for
  all request types
- Add and use fetch.max.bytes to limit total Fetch response size.
  Fixes "Invalid response size" issues.

Enhancements

- Added sasl.mechanism and compression.type configuration property
  aliases for conformance with Java client.
- Improved Producer performance
- C++: add c_ptr() to Handle,Topic,Message classes to expose
  underlying librdkafka object
- Honour per-message partition in produce_batch() if MSG_F_PARTITION
  set
- Added on_request_sent() interceptor
- Added experimental flexible producer queuing.strategy=fifo|lifo
- Broker address DNS record round-robin: try to maintain round-robin
  position across resolve calls.
- Set system thread name for internal librdkafka threads
- Added more concise and user-friendly 'consumer' debug context
- Add partitioner (string) topic configuration property to set the
  builtin partitioners
- Generate rdkafka-static.pc (pkg-config) for static linking

Fixes

- Fix producer memory leak on <0.11 brokers when compressed messageset
  is below copy threshold
- CRC32C - fix unaligned access on ARM
- Fix read after free in buf_write_seek
- Fix broker wake up
- Fix consumer hang when rebalancing during commit
- CMake fixes for Windows
- LeaveGroup was not sent on close when doing final offset commits
- Fix for consumer slowdown/stall on compacted topics where actual
  last offset < MsgSet.LastOffset
- Fix global->topic conf fallthru in C++ API
- Fix infinite loop on LeaveGroup failure
- Fix possible crash on OffsetFetch retry
- Incorporate compressed message count when deciding on fetch backoff
- Fix debug-only crash on Solaris (%s NULL)
- Drain broker ops queue on termination to avoid hang
- cmake: Allow build static library
- Don't store invalid offset as next one when pausing
- use #if instead of #ifdef / defined() for atomics
- fixed .lib paths in nuget packaging
- Fixes strerror_r crash on alpine
- Allow arbitrary lengthed (>255) SASL PLAIN user/pass
- Trigger ApiVersionRequest on reconnect if broker.version.fallback
  supports it
- Read Fetch MsgAttributes as int8
- Portability: stop using typeof in rdkafka_transport.c
- Portability: replace use of #pragma once with header guards
- mklove: add LIBS in reverse order to maintain dependency order
- Fix build when python is not available #1358


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/librdkafka/Makefile \
    pkgsrc/devel/librdkafka/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/librdkafka/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/librdkafka/Makefile
diff -u pkgsrc/devel/librdkafka/Makefile:1.5 pkgsrc/devel/librdkafka/Makefile:1.6
--- pkgsrc/devel/librdkafka/Makefile:1.5        Sat Dec  9 16:57:04 2017
+++ pkgsrc/devel/librdkafka/Makefile    Thu Apr  5 09:01:16 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/12/09 16:57:04 fhajny Exp $
+# $NetBSD: Makefile,v 1.6 2018/04/05 09:01:16 fhajny Exp $
 
-DISTNAME=      librdkafka-0.11.3
+DISTNAME=      librdkafka-0.11.4
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=edenhill/}
 
@@ -24,6 +24,11 @@ CONFIGURE_ARGS+=     --disable-sasl
 
 TEST_TARGET=   check
 
+PKGCONFIG_OVERRIDE+=   src-cpp/rdkafka++-static.pc
+PKGCONFIG_OVERRIDE+=   src-cpp/rdkafka++.pc
+PKGCONFIG_OVERRIDE+=   src/rdkafka-static.pc
+PKGCONFIG_OVERRIDE+=   src/rdkafka.pc
+
 PYTHON_FOR_BUILD_ONLY= yes
 
 .include "../../archivers/lz4/buildlink3.mk"
Index: pkgsrc/devel/librdkafka/distinfo
diff -u pkgsrc/devel/librdkafka/distinfo:1.5 pkgsrc/devel/librdkafka/distinfo:1.6
--- pkgsrc/devel/librdkafka/distinfo:1.5        Sat Dec  9 16:57:04 2017
+++ pkgsrc/devel/librdkafka/distinfo    Thu Apr  5 09:01:16 2018
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2017/12/09 16:57:04 fhajny Exp $
+$NetBSD: distinfo,v 1.6 2018/04/05 09:01:16 fhajny Exp $
 
-SHA1 (librdkafka-0.11.3.tar.gz) = 6a7e37069e46e59f4547cb21fe2d4b3c88eb5b41
-RMD160 (librdkafka-0.11.3.tar.gz) = 8af7eed57c075079219760ff9432819d91b6b67c
-SHA512 (librdkafka-0.11.3.tar.gz) = e9bb97ea1597019a841dd4ba3666ad72dcbc0539054155ce0caee92f1324f1a490515b0310405f822b829c05ed2688b48e2ca205a91cf88bf9ad6411f7c12b26
-Size (librdkafka-0.11.3.tar.gz) = 1849838 bytes
+SHA1 (librdkafka-0.11.4.tar.gz) = 00e5b9c610697a0f32910fd1ef19e9b2c684824e
+RMD160 (librdkafka-0.11.4.tar.gz) = ce9a8261a874183b61b56df3aeecd163567f679f
+SHA512 (librdkafka-0.11.4.tar.gz) = 6b34e7c476d328a2f8e8321f6ddcaeaf43730284bb3aaddac81c3cd9a1fa5d7f7ef7481f1093b36d89edde7b766da6cd27a9eb9a635b12b640e8a46a269bafc8
+Size (librdkafka-0.11.4.tar.gz) = 1900117 bytes
 SHA1 (patch-Makefile) = 31731833723acada1c53d01a632f8ba726788a5a
 SHA1 (patch-src_rd.h) = 698000dcad93ccaa07e2462e0932967272b2a915
 SHA1 (patch-src_rdendian.h) = 75cb69e2cbdbcad6a82a943539d5707ff1df7d6d

Index: pkgsrc/devel/librdkafka/PLIST
diff -u pkgsrc/devel/librdkafka/PLIST:1.1 pkgsrc/devel/librdkafka/PLIST:1.2
--- pkgsrc/devel/librdkafka/PLIST:1.1   Thu Apr 20 08:01:18 2017
+++ pkgsrc/devel/librdkafka/PLIST       Thu Apr  5 09:01:16 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/20 08:01:18 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/04/05 09:01:16 fhajny Exp $
 include/librdkafka/rdkafka.h
 include/librdkafka/rdkafkacpp.h
 lib/librdkafka++.a
@@ -7,5 +7,7 @@ lib/librdkafka++.so.1
 lib/librdkafka.a
 lib/librdkafka.so
 lib/librdkafka.so.1
+lib/pkgconfig/rdkafka++-static.pc
 lib/pkgconfig/rdkafka++.pc
+lib/pkgconfig/rdkafka-static.pc
 lib/pkgconfig/rdkafka.pc



Home | Main Index | Thread Index | Old Index