pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/librdkafka Update devel/librdkafka to 0.11.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e977ad86d345
branches:  trunk
changeset: 366091:e977ad86d345
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Aug 02 15:49:24 2017 +0000

description:
Update devel/librdkafka to 0.11.0.

Features
- Added support for MsgVersion v2 (message format of KIP-98) - message
  format compatible with EOS clients
- Added support for client interceptors
- Added support for dynamically loaded plugins (plugin.library.paths,
  for use with interceptors)
- Added SASL SCRAM support (KIP-84)
- Added builtin SASL PLAIN provider (for Win32, #982)

Enhancements
- Deprecate errno usage, use rd_kafka_last_error() instead.
- Deprecate rd_kafka_wait_destroyed().
- Implemented per-partition Fetch backoffs, previously all partitions
  for the given broker were backed off.
- Added updated Kafka protocol and error enums
- Added rd_kafka_message_latency()
- Added rd_kafka_clusterid() and rd_kafka_type()
- SSL: set default CA verify locations if ssl.ca.location is not
  specified
- C++: add yield() method
- Added support for stats as events (#1171)
- Build with system liblz4 if available, else fall back on built-in
  lz4, for improved portability.
- Use SNI when connecting through SSL (@vincentbernat)
- Improve broker thread responsiveness, decreasing internal latency
- Improve OpenSSL config error propagation (#1119)
- Prioritize all relevant user-facing ops (callbacks) over messages on
  poll queue (#1088)
- Added global->topic config fallthru: default topic config properties
- can now be set effortlessly on global config object.
- Log offset commit failures when there is no offset_commit_cb (closes
  #1043)
- Add CRC checking support to consumer (#1056)
- C++: Added seek() support to KafkaConsumer
- Added rd_kafka_conf_dup_filter() to selectively copy a config
  object.

Fixes:
- Avoid _ALIGN re-definition on BSD (#1225)
- rdkafka_performance: exit with code 1 if not all messages were
  delivered
- Fix endianism issues that were causing snappy to compress
  incorrectly (#1219, @rthalley)
- Fix stability on AIX (#1211)
- Document that rd_kafka_message_errstr() must not be used on producer
- Add support for re-queuing half-processed ops to honour yield()
- Handle null Protocol in JoinGroupResponse (#1193)
- Consumer: Proper relative offset handling (#1192, @rthalley)
- OSX: silence libsasl deprecated warnings
- partition count should be per topic in offset request buffer (closes
  #1199, @matthew-d-jones)
- fix build on SmartOS (#1186 by @misterdjules)
- ERR_remove_thread_state OpenSSL version checking
- Don't emit TIMED_OUT_QUEUE for timed out messages (revert)
- producev() default partition should UA, not 0 (#1153)
- Fix SaslHandshakeRequest timeout to 10s
- SASL: fix memory leak: received SASL auth frames were not freed
- Clean up OpenSSL per-thread memory on broker thread exit
- Properly auto-set metadata.max.age.ms when
  metadata.refresh.interval.ms is disabled (closes #1149)
- Fix memory alignment issues (#1150)
- configure: auto add brew openssl pkg-config path
- Fix consumer_lag calculation (don't use cached hi_offset)
- rdkafka_example: fix message_errstr usage, not allowed on producer
- Avoid use of partially destroyed topic object (#1125)
- Improve reconnect delay handling (#1089)
- C++: fix conf->get() allocation (closes #1118)
- Use app_offset to calculate consumer_lag (closes #1112)
- Fix retrybuf memory leak on termination when broker is down
- Fix small memory leak in metadata_leader_query
- Fix use-after-free when log.queue and debug was used
- consumer_example: fix crash on -X dump (closes #841)
- Added rd_kafka_offsets_store() (KafkaConsumer::offsets_store)
  (closes #826)
- Optimize broker id lookups (closes #523)
- Don't log broker failures when an error_cb is registered (closes
  #1055)
- Properly log SSL connection close (closes #1081)
- Win32 SASL GSSAPI: protection level and message size were not sent
- C++: improved error reporting from Conf::set()
- Flush partition fetch buffer on seek (from decide())
- Fix recursive locking on periodic refresh of leader-less partition
  (closes #1311)

diffstat:

 devel/librdkafka/Makefile                            |   4 ++--
 devel/librdkafka/buildlink3.mk                       |   3 ++-
 devel/librdkafka/distinfo                            |  11 +++++------
 devel/librdkafka/patches/patch-src_rdkafka__broker.c |  16 ----------------
 4 files changed, 9 insertions(+), 25 deletions(-)

diffs (69 lines):

diff -r 1c2cee4c186e -r e977ad86d345 devel/librdkafka/Makefile
--- a/devel/librdkafka/Makefile Wed Aug 02 15:32:59 2017 +0000
+++ b/devel/librdkafka/Makefile Wed Aug 02 15:49:24 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2017/04/24 12:20:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.3 2017/08/02 15:49:24 fhajny Exp $
 
-DISTNAME=      librdkafka-0.9.5
+DISTNAME=      librdkafka-0.11.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=edenhill/}
 
diff -r 1c2cee4c186e -r e977ad86d345 devel/librdkafka/buildlink3.mk
--- a/devel/librdkafka/buildlink3.mk    Wed Aug 02 15:32:59 2017 +0000
+++ b/devel/librdkafka/buildlink3.mk    Wed Aug 02 15:49:24 2017 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.1 2017/04/20 08:04:11 fhajny Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2017/08/02 15:49:24 fhajny Exp $
 
 BUILDLINK_TREE+=       librdkafka
 
 .if !defined(LIBRDKAFKA_BUILDLINK3_MK)
 LIBRDKAFKA_BUILDLINK3_MK:=
 
+BUILDLINK_ABI_DEPENDS.librdkafka+=     librdkafka>=0.11.0
 BUILDLINK_API_DEPENDS.librdkafka+=     librdkafka>=0.9.5
 BUILDLINK_PKGSRCDIR.librdkafka?=       ../../devel/librdkafka
 
diff -r 1c2cee4c186e -r e977ad86d345 devel/librdkafka/distinfo
--- a/devel/librdkafka/distinfo Wed Aug 02 15:32:59 2017 +0000
+++ b/devel/librdkafka/distinfo Wed Aug 02 15:49:24 2017 +0000
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.2 2017/04/24 12:20:37 fhajny Exp $
+$NetBSD: distinfo,v 1.3 2017/08/02 15:49:24 fhajny Exp $
 
-SHA1 (librdkafka-0.9.5.tar.gz) = 8cc5ba85d18104c644d7bb9e4e64e8c95cd2f100
-RMD160 (librdkafka-0.9.5.tar.gz) = 56343b3724acb09a2df0f7a42830426bea392158
-SHA512 (librdkafka-0.9.5.tar.gz) = 06b2c7e3dd1c8a84322d256f2470804ba0ac205777cf66c0c98222d3f90ed26d6fcae375ee0343558ccf901d7a8d354009f377a435ecd0ce2d02c73848fbc8a4
-Size (librdkafka-0.9.5.tar.gz) = 753196 bytes
+SHA1 (librdkafka-0.11.0.tar.gz) = bdbaa1c75d2e507e679bede6fcf4ed72bb1925af
+RMD160 (librdkafka-0.11.0.tar.gz) = 78c5d2f809bb028de124b7fc5e9bf19cca081e18
+SHA512 (librdkafka-0.11.0.tar.gz) = 1c41bd5bb9eb93b3bf743e8c4f14684609cb47b0c4fb95d303ddc7c62fdb678d9e6928fa6ea57c0aaa7695d08ab6e7ec84b699d7d61c7f750af0fe2cb148c596
+Size (librdkafka-0.11.0.tar.gz) = 837546 bytes
 SHA1 (patch-Makefile) = 31731833723acada1c53d01a632f8ba726788a5a
 SHA1 (patch-src_rd.h) = 698000dcad93ccaa07e2462e0932967272b2a915
 SHA1 (patch-src_rdendian.h) = 2c01666fa2ad35415180e272223d3be13d91f7f8
-SHA1 (patch-src_rdkafka__broker.c) = 3be69e335317eaa8dea196a5f28856085788c034
 SHA1 (patch-src_rdposix.h) = 72ac80d3ac57a87b3c289b3c7a8698234af9984c
 SHA1 (patch-src_snappy__compat.h) = c728f0e575ccf944d6990aa64cc4ccd926e4e5d4
diff -r 1c2cee4c186e -r e977ad86d345 devel/librdkafka/patches/patch-src_rdkafka__broker.c
--- a/devel/librdkafka/patches/patch-src_rdkafka__broker.c      Wed Aug 02 15:32:59 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_rdkafka__broker.c,v 1.2 2017/04/24 12:20:37 fhajny Exp $
-
-Do not mess with _XOPEN_SOURCE here, it's needed generally and elsewhere.
-
---- src/rdkafka_broker.c.orig  2017-04-12 08:36:34.000000000 +0000
-+++ src/rdkafka_broker.c
-@@ -30,9 +30,6 @@
- 
- #ifndef _MSC_VER
- #define _GNU_SOURCE
--#ifndef _AIX    /* AIX defines this and the value needs to be set correctly */
--#define _XOPEN_SOURCE
--#endif
- #include <signal.h>
- #endif
- 



Home | Main Index | Thread Index | Old Index