From 56363363b8c98e7ec5ba68c016a24d7ebaf05cef2d7bf13ba713b333580e84f3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 18 Nov 2023 19:50:39 +0000 Subject: [PATCH] - update to 2.3.0: * Partial support of topic identifiers. Topic identifiers in metadata response available through the new `rd_kafka_DescribeTopics` function * KIP-117 Add support for AdminAPI `DescribeCluster()` and `DescribeTopics()` * Return authorized operations in Describe Responses. * KIP-580: Added Exponential Backoff mechanism for retriable requests with `retry.backoff.ms` as minimum backoff and `retry.backoff.max.ms` as the maximum backoff, with 20% jitter (#4422). * Fixed ListConsumerGroupOffsets not fetching offsets for all the topics in a group with Apache Kafka version below 2.4.0. * Add missing destroy that leads to leaking partition structure memory when there are partition leader changes and a stale leader epoch is received (#4429). * Fix a segmentation fault when closing a consumer using the cooperative-sticky assignor before the first assignment * Fix for insufficient buffer allocation when allocating rack information (@wolfchimneyrock, #4449). * Fix for infinite loop of OffsetForLeaderEpoch requests on quick leader changes. (#4433). * Fix for stored offsets not being committed if they lacked the leader epoch (#4442). * Upgrade OpenSSL to v3.0.11 (while building from source) with various security fixes, check the release notes * Fix to ensure permanent errors during offset validation continue being retried and don't cause an offset reset (#4447). * Fix to ensure max.poll.interval.ms is reset when rd_kafka_poll is called with consume_cb (#4431). OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=40 --- librdkafka.changes | 47 +++++++++++++++++++++++++++++++++++++++++++--- librdkafka.spec | 2 +- v2.1.1.tar.gz | 3 --- v2.3.0.tar.gz | 3 +++ 4 files changed, 48 insertions(+), 7 deletions(-) delete mode 100644 v2.1.1.tar.gz create mode 100644 v2.3.0.tar.gz diff --git a/librdkafka.changes b/librdkafka.changes index ebcc3c5..d620361 100644 --- a/librdkafka.changes +++ b/librdkafka.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Sat Nov 18 19:48:49 UTC 2023 - Dirk Müller + +- update to 2.3.0: + * Partial support of topic identifiers. Topic identifiers in + metadata response available through the new + `rd_kafka_DescribeTopics` function + * KIP-117 Add support for AdminAPI `DescribeCluster()` and + `DescribeTopics()` + * Return authorized operations in Describe Responses. + * KIP-580: Added Exponential Backoff mechanism for + retriable requests with `retry.backoff.ms` as minimum backoff + and `retry.backoff.max.ms` as the + maximum backoff, with 20% jitter (#4422). + * Fixed ListConsumerGroupOffsets not fetching offsets for all + the topics in a group with Apache Kafka version below 2.4.0. + * Add missing destroy that leads to leaking partition structure + memory when there are partition leader changes and a stale + leader epoch is received (#4429). + * Fix a segmentation fault when closing a consumer using the + cooperative-sticky assignor before the first assignment + * Fix for insufficient buffer allocation when allocating rack + information (@wolfchimneyrock, #4449). + * Fix for infinite loop of OffsetForLeaderEpoch requests on + quick leader changes. (#4433). + * Fix for stored offsets not being committed if they lacked the + leader epoch (#4442). + * Upgrade OpenSSL to v3.0.11 (while building from source) with + various security fixes, check the release notes + * Fix to ensure permanent errors during offset validation + continue being retried and don't cause an offset reset (#4447). + * Fix to ensure max.poll.interval.ms is reset when + rd_kafka_poll is called with consume_cb (#4431). + * Fix for idempotent producer fatal errors, triggered after a + possibly persisted message state (#4438). + * Fix `rd_kafka_query_watermark_offsets` continuing beyond + timeout expiry (#4460). + * Fix `rd_kafka_query_watermark_offsets` not refreshing the + partition leader after a leader change and subsequent + `NOT_LEADER_OR_FOLLOWER` error (#4225). + ------------------------------------------------------------------- Sun May 7 18:58:32 UTC 2023 - Dirk Müller @@ -95,7 +136,7 @@ Sun Jan 29 12:09:44 UTC 2023 - Dirk Müller impersonation attacks) by default. To restore the previous behaviour, set `ssl.endpoint.identification.algorithm` to `none`. * The Consumer Batch APIs `rd_kafka_consume_batch()` and - `rd_kafka_consume_batch_queue()` are not thread safe if + `rd_kafka_consume_batch_queue()` are not thread safe if `rkmessages_size` is greater than 1 and any of the **seek**, **pause**, **resume** or **rebalancing** operation is performed in parallel with any of the above APIs. Some of the messages might be @@ -216,7 +257,7 @@ Tue Jan 4 22:51:56 UTC 2022 - Dirk Müller - update to 1.8.2: * Added ssl.ca.pem to add CA certificate by PEM string * Upon quick repeated leader changes the transactional producer could receive - an OUT_OF_ORDER_SEQUENCE error from the broker + an OUT_OF_ORDER_SEQUENCE error from the broker * The transactional producer could stall during a transaction if the transaction coordinator changed @@ -426,7 +467,7 @@ Mon Oct 26 08:08:55 UTC 2020 - Dirk Mueller - update to 1.5.2: * Security fixes: There was an incorrect call to zlib's inflateGetHeader() with unitialized memory pointers that could lead to the GZIP header of a - fetched message batch to be copied to arbitrary memory. + fetched message batch to be copied to arbitrary memory. * The default value for the producer configuration property retries has been increased from 2 to infinity * The default value for the producer configuration property diff --git a/librdkafka.spec b/librdkafka.spec index b66aa5f..6c854f5 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -23,7 +23,7 @@ %global _lto_cflags %{nil} %endif Name: librdkafka -Version: 2.1.1 +Version: 2.3.0 Release: 0 Summary: The Apache Kafka C/C++ library License: BSD-2-Clause diff --git a/v2.1.1.tar.gz b/v2.1.1.tar.gz deleted file mode 100644 index 5793469..0000000 --- a/v2.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7be1fc37ab10ebdc037d5c5a9b35b48931edafffae054b488faaff99e60e0108 -size 4281061 diff --git a/v2.3.0.tar.gz b/v2.3.0.tar.gz new file mode 100644 index 0000000..c98efd2 --- /dev/null +++ b/v2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d49c35c77eeb3d42fa61c43757fcbb6a206daa560247154e60642bcdcc14d12 +size 4380862