SHA256
8
0
forked from pool/librdkafka

46 Commits

Author SHA256 Message Date
df4976d82e Accepting request 1265510 from devel:libraries:c_c++
- update to 2.8.0:
  * Socket options are now all set before connection (#4893).
  * Client certificate chain is now sent when using
    `ssl.certificate.pem` or `ssl_certificate` or 
    `ssl.keystore.location` (#4894).
  * Avoid sending client certificates whose chain doesn't match
    with broker trusted root certificates (#4900).
  * Fixes to allow to migrate partitions to leaders with same
    leader epoch, or NULL leader epoch (#4901).
  * Support versions of OpenSSL without the ENGINE component
    and
  * Socket options are now all set before connection, as
    documentation says it's needed for socket buffers to take 
    effect, even if in some cases they could have effect even
    after connection.
  * Fix for a Fetch regression when connecting to Apache Kafka <
    2.7 (#4871).
  * Fix for an infinite loop happening with cooperative-sticky
    assignor
  * under some particular conditions (#4800).
  * Fix for retrieving offset commit metadata when it contains
  * zeros and configured with `strndup`
  * Fix for a loop of ListOffset requests, happening in a Fetch
    From Follower
  * scenario, if such request is made to the follower (#4616,
    #4754, @kphelps).
  * Fix to remove fetch queue messages that blocked the destroy
    of rdkafka
  * instances
  * Upgrade Linux dependencies: OpenSSL 3.0.15, CURL 8.10.1

OBS-URL: https://build.opensuse.org/request/show/1265510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=19
2025-04-02 15:05:18 +00:00
e598c6726d - update to 1.4.0:
* Buffered file output is now periodically flushed by a background
    thread
  * The MultiprocessRollingFileAppender did not work
  * Properly prevent undefined behaviour when an appender is deleted
    without being closed
  * Prevent abnormal termination on exit when using a static NDC/MDC
    variable
  * Support for std::experimental::optional (in the standard library
    used by gcc 5.4)
  * Overhead reduction of upto 60% sending logging events to an appender
  * Statistics on the AsyncAppender's queue length
  * [Fuzz tests](@ref fuzzing) along with Google OSS-Fuzz
  * MSYS2/MINGW build errors
  * `thread_local` problems in MSYS2/MINGW
  * A potential 'use after free' fault when using AsyncAppender

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=42
2025-03-30 10:57:03 +00:00
f0ad08d9dd Accepting request 1127461 from devel:libraries:c_c++
- 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/request/show/1127461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=18
2023-11-21 20:31:08 +00:00
56363363b8 - 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
2023-11-18 19:50:39 +00:00
8b139f5f3c Accepting request 1087789 from devel:libraries:c_c++
- update to 2.1.1:
  * Avoid duplicate messages when a fetch response is received
  * in the middle of an offset validation request
  * Fix segmentation fault when subscribing to a non-existent
    topic and calling `rd_kafka_message_leader_epoch()` on the polled
    `rkmessage`
  * Fix a segmentation fault when fetching from follower and the
    partition lease expires while waiting for the result of a list offsets
    operation
  * Fix documentation for the admin request timeout, incorrectly
    stating -1 for infinite
  * timeout. That timeout can't be infinite.
  * Fix CMake pkg-config cURL require and use
  * pkg-config `Requires.private` field
  * Fixes certain cases where polling would not keep the consumer
  * in the group or make it rejoin it
  * Fix to the C++ set_leader_epoch method of TopicPartitionImpl,
  * that wasn't storing the passed value
  * Duplicate messages can be emitted when a fetch response is
    received in the middle of an offset validation request. Solved by
    avoiding a restart from last application offset when offset validation
    succeeds.
  * When fetching from follower, if the partition lease expires
    after 5 minutes, and a list offsets operation was requested
    to retrieve the earliest or latest offset, it resulted in
    segmentation fault. This was fixed by allowing threads different
    from the main one to call the `rd_kafka_toppar_set_fetch_state`
    function, given they hold the lock on the `rktp`.
  * In v2.1.0, a bug was fixed which caused polling any queue to
    reset the `max.poll.interval.ms`.

OBS-URL: https://build.opensuse.org/request/show/1087789
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=17
2023-05-19 09:54:49 +00:00
03ae2e6f86 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=38 2023-05-14 16:48:40 +00:00
f8a6660938 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=37 2023-05-14 16:48:27 +00:00
c2bb3afaf5 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=36 2023-05-14 16:48:13 +00:00
4aabb5cf50 - update to 2.1.1:
* Avoid duplicate messages when a fetch response is received
  * in the middle of an offset validation request
  * Fix segmentation fault when subscribing to a non-existent
    topic and calling `rd_kafka_message_leader_epoch()` on the polled
    `rkmessage`
  * Fix a segmentation fault when fetching from follower and the
    partition lease expires while waiting for the result of a list offsets
    operation
  * Fix documentation for the admin request timeout, incorrectly
    stating -1 for infinite
  * timeout. That timeout can't be infinite.
  * Fix CMake pkg-config cURL require and use
  * pkg-config `Requires.private` field
  * Fixes certain cases where polling would not keep the consumer
  * in the group or make it rejoin it
  * Fix to the C++ set_leader_epoch method of TopicPartitionImpl,
  * that wasn't storing the passed value
  * Duplicate messages can be emitted when a fetch response is
    received in the middle of an offset validation request. Solved by
    avoiding a restart from last application offset when offset validation
    succeeds.
  * When fetching from follower, if the partition lease expires
    after 5 minutes, and a list offsets operation was requested
    to retrieve the earliest or latest offset, it resulted in
    segmentation fault. This was fixed by allowing threads different
    from the main one to call the `rd_kafka_toppar_set_fetch_state`
    function, given they hold the lock on the `rktp`.
  * In v2.1.0, a bug was fixed which caused polling any queue to
    reset the `max.poll.interval.ms`.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=35
2023-05-07 19:02:32 +00:00
d128797238 Accepting request 1083981 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1083981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=16
2023-05-03 10:56:21 +00:00
994577332f Accepting request 1083355 from home:dirkmueller:Factory
- update to 2.1.0:
  * Allow fetchers to detect and handle log truncation (#4122).
  * Fix a reference count issue blocking the consumer from
    closing (#4187).
  * Fix a protocol issue with ListGroups API, where an extra
  * field was appended for API Versions greater than or equal to
    3 (#4207).
  * Fix an issue with `max.poll.interval.ms`, where polling any
    queue would cause the timeout to be reset (#4176).
  * Fix seek partition timeout, was one thousand times lower than
    the passed value (#4230).
  * Fix multiple inconsistent behaviour in batch APIs during
    **pause** or **resume** operations (#4208).
  * Update lz4.c from upstream. Fixes CVE-2021-3520
  * Upgrade OpenSSL to v3.0.8 with various security fixes
  * Added `rd_kafka_topic_partition_get_leader_epoch()` (and
    `set..()`).
  * A reference count issue was blocking the consumer from
    closing.
  * Fixed known issues related to Batch Consume APIs mentioned in
    v2.0.0 release notes.
  * Fixed `rd_kafka_consume_batch()` and `rd_kafka_consume_batch_queue()`
    intermittently updating `app_offset` and `store_offset`
    incorrectly when **pause** or **resume** was being used for a partition.
  * Fixed `rd_kafka_consume_batch()` and `rd_kafka_consume_batch_queue()`
    intermittently skipping offsets when **pause** or **resume**
    was being used for a partition.

OBS-URL: https://build.opensuse.org/request/show/1083355
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=33
2023-05-02 09:28:50 +00:00
d11d3cb8fe Accepting request 1062038 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1062038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=15
2023-01-31 15:08:39 +00:00
764bb121e1 Accepting request 1061868 from home:dirkmueller:Factory
- update to 2.0.2:
  * OffsetFetch Protocol Update (#3995).
  * Add Consumer Group operations to Admin API (started by @lesterfan, #3995).
  * Allow listing consumer groups per state (#3995).
  * Partially implemented: support for AlterConsumerGroupOffsets
  * OpenSSL 3.0.x support - the maximum bundled OpenSSL version is now 3.0.7 (previously 1.1.1q).
  * Fixes to the transactional and idempotent producer.
  * The introduction of OpenSSL 3.0.x in the self-contained librdkafka
    bundles changes the default set of available ciphers, in particular all obsolete
    or insecure ciphers and algorithms as listed in the OpenSSL legacy
    manual page are now disabled by default.
    Should you need to use any of these old ciphers you'll need to
    explicitly enable the `legacy` provider by configuring
    `ssl.providers=default,legacy` on the librdkafka client.
    OpenSSL 3.0.x deprecates the use of engines, which is being replaced by
    providers. As such librdkafka will emit a deprecation warning if
    `ssl.engine.location` is configured. OpenSSL providers may be
    configured with the new `ssl.providers` configuration property.
    The default value for `ssl.endpoint.identification.algorithm` has been
    changed from `none` (no hostname verification) to `https`, which enables
    broker hostname verification (to counter man-in-the-middle
    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 
    `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
    lost, or erroneously returned to the application, in the above scenario.
  * It is strongly recommended to use the Consumer Batch APIs and the

OBS-URL: https://build.opensuse.org/request/show/1061868
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=31
2023-01-30 12:03:25 +00:00
7f6574d381 Accepting request 1004569 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1004569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=14
2022-09-21 12:41:38 +00:00
68d6f4424a Accepting request 1003041 from home:dirkmueller:Factory
- update to 1.9.2:
  * Added KIP-768 OUATHBEARER OIDC support (by @jliunyu, #3560)
  * Added KIP-140 Admin API ACL support (by @emasab, #2676)
  * Consumer:
    `rd_kafka_offsets_store()` (et.al) will now return an error for any
    partition that is not currently assigned (through `rd_kafka_*assign()`).
    This prevents a race condition where an application would store offsets
    after the assigned partitions had been revoked (which resets the stored
    offset), that could cause these old stored offsets to be committed later
    when the same partitions were assigned to this consumer again - effectively
    overwriting any committed offsets by any consumers that were assigned the
    same partitions previously. This would typically result in the offsets
    rewinding and messages to be reprocessed.
    As an extra effort to avoid this situation the stored offset is now
    also reset when partitions are assigned (through `rd_kafka_*assign()`).
    Applications that explicitly call `..offset*_store()` will now need
    to handle the case where `RD_KAFKA_RESP_ERR__STATE` is returned
    in the per-partition `.err` field - meaning the partition is no longer
    assigned to this consumer and the offset could not be stored for commit.
  * Improved producer queue scheduling. Fixes the performance regression
    introduced in v1.7.0 for some produce patterns. (#3538, #2912)
  * Windows: Added native Win32 IO/Queue scheduling. This removes the
    internal TCP loopback connections that were previously used for timely
    queue wakeups.
  * Added `socket.connection.setup.timeout.ms` (default 30s).
    The maximum time allowed for broker connection setups (TCP connection as
    well as SSL and SASL handshakes) is now limited to this value.
    This fixes the issue with stalled broker connections in the case of network
    or load balancer problems.
    The Java clients has an exponential backoff to this timeout which is

OBS-URL: https://build.opensuse.org/request/show/1003041
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=29
2022-09-19 06:55:15 +00:00
022dd55643 Accepting request 946807 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/946807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=13
2022-01-19 23:11:52 +00:00
7bdf71397a Accepting request 943868 from home:dirkmueller:Factory
- 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 
  * The transactional producer could stall during a transaction if the transaction
    coordinator changed

OBS-URL: https://build.opensuse.org/request/show/943868
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=28
2022-01-16 15:31:47 +00:00
6e29e46804 Accepting request 928127 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/928127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=12
2021-10-31 21:55:32 +00:00
0ed2455144 Accepting request 925676 from home:dirkmueller:Factory
- update to 1.8.0:
 * Upgrade bundled zlib version from 1.2.8 to 1.2.11 in the `librdkafka.redist`
   NuGet package. The updated zlib version fixes CVEs:
   CVE-2016-9840, CVE-2016-9841, CVE-2016-9842, CVE-2016-9843
   See https://github.com/edenhill/librdkafka/issues/2934 for more information.
 * librdkafka now uses [vcpkg](https://vcpkg.io/) for up-to-date Windows
   dependencies in the `librdkafka.redist` NuGet package:
   OpenSSL 1.1.1l, zlib 1.2.11, zstd 1.5.0.
 * The upstream dependency (OpenSSL, zstd, zlib) source archive checksums are
   now verified when building with `./configure --install-deps`.
   These builds are used by the librdkafka builds bundled with
   confluent-kafka-go, confluent-kafka-python and confluent-kafka-dotnet.
 * Producer `flush()` now overrides the `linger.ms` setting for the duration
   of the `flush()` call, effectively triggering immediate transmission of
   queued messages. (#3489)
 * Lots of bugfixes, see included CHANGELOG.md for details
- build against system libraries rather than bundled ones
- enable all features

OBS-URL: https://build.opensuse.org/request/show/925676
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=27
2021-10-29 13:00:30 +00:00
86678c879f Accepting request 901440 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/901440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=11
2021-06-25 13:01:07 +00:00
123c809b5d Accepting request 897827 from home:dirkmueller:Factory
- update to 1.7.0:
 * [KIP-360](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=89068820) - Improve reliability of transactional producer.
   Requires Apache Kafka 2.5 or later.
 * OpenSSL Engine support (`ssl.engine.location`) by @adinigam and @ajbarb.
 * Added `connections.max.idle.ms` to automatically close idle broker
   connections.
   This feature is disabled by default unless `bootstrap.servers` contains
   the string `azure` in which case the default is set to <4 minutes to improve
   connection reliability and circumvent limitations with the Azure load
   balancers (see #3109 for more information).
 * Bumped to OpenSSL 1.1.1k in binary librdkafka artifacts.
 * The binary librdkafka artifacts for Alpine are now using Alpine 3.12.
   OpenSSL 1.1.1k.
 * Improved static librdkafka Windows builds using MinGW (@neptoess, #3130).
 * The C++ `oauthbearer_token_refresh_cb()` was missing a `Handle *`
   argument that has now been added. This is a breaking change but the original
   function signature is considered a bug.
   This change only affects C++ OAuth developers.
 * [KIP-735](https://cwiki.apache.org/confluence/display/KAFKA/KIP-735%3A+Increase+default+consumer+session+timeout) The consumer `session.timeout.ms`
   default was changed from 10 to 45 seconds to make consumer groups more
   robust and less sensitive to temporary network and cluster issues.
 * Statistics: `consumer_lag` is now using the `committed_offset`,
   while the new `consumer_lag_stored` is using `stored_offset`
   (offset to be committed).
   This is more correct than the previous `consumer_lag` which was using
   either `committed_offset` or `app_offset` (last message passed
   to application).
  * Bugfixes

OBS-URL: https://build.opensuse.org/request/show/897827
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=26
2021-06-23 09:47:37 +00:00
42b9f59aa7 Accepting request 888420 from devel:libraries:c_c++
- update to 1.6.1:
  * Fatal idempotent producer errors are now also fatal to the transactional
   producer. This is a necessary step to maintain data integrity prior to
   librdkafka supporting KIP-360. Applications should check any transactional
   API errors for the is_fatal flag and decommission the transactional producer
   if the flag is set.
  * The consumer error raised by `auto.offset.reset=error` now has error-code
   set to `ERR__AUTO_OFFSET_RESET` to allow an application to differentiate
   between auto offset resets and other consumer errors.
  * Admin API and transactional `send_offsets_to_transaction()` coordinator
   requests, such as TxnOffsetCommitRequest, could in rare cases be sent
   multiple times which could cause a crash.
  * `ssl.ca.location=probe` is now enabled by default on Mac OSX since the
   librdkafka-bundled OpenSSL might not have the same default CA search paths
   as the system or brew installed OpenSSL. Probing scans all known locations.
  * Fatal idempotent producer errors are now also fatal to the transactional
   producer.
  * The transactional producer could crash if the transaction failed while
   `send_offsets_to_transaction()` was called.
  * Group coordinator requests for transactional
   `send_offsets_to_transaction()` calls would leak memory if the
   underlying request was attempted to be sent after the transaction had
   failed.
  * When gradually producing to multiple partitions (resulting in multiple
   underlying AddPartitionsToTxnRequests) sub-sequent partitions could get
   stuck in pending state under certain conditions. These pending partitions
   would not send queued messages to the broker and eventually trigger
   message timeouts, failing the current transaction. This is now fixed.
  * Committing an empty transaction (no messages were produced and no
   offsets were sent) would previously raise a fatal error due to invalid state

OBS-URL: https://build.opensuse.org/request/show/888420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=10
2021-04-27 19:34:12 +00:00
271cf5edad - update to 1.6.1:
* Fatal idempotent producer errors are now also fatal to the transactional
   producer. This is a necessary step to maintain data integrity prior to
   librdkafka supporting KIP-360. Applications should check any transactional
   API errors for the is_fatal flag and decommission the transactional producer
   if the flag is set.
  * The consumer error raised by `auto.offset.reset=error` now has error-code
   set to `ERR__AUTO_OFFSET_RESET` to allow an application to differentiate
   between auto offset resets and other consumer errors.
  * Admin API and transactional `send_offsets_to_transaction()` coordinator
   requests, such as TxnOffsetCommitRequest, could in rare cases be sent
   multiple times which could cause a crash.
  * `ssl.ca.location=probe` is now enabled by default on Mac OSX since the
   librdkafka-bundled OpenSSL might not have the same default CA search paths
   as the system or brew installed OpenSSL. Probing scans all known locations.
  * Fatal idempotent producer errors are now also fatal to the transactional
   producer.
  * The transactional producer could crash if the transaction failed while
   `send_offsets_to_transaction()` was called.
  * Group coordinator requests for transactional
   `send_offsets_to_transaction()` calls would leak memory if the
   underlying request was attempted to be sent after the transaction had
   failed.
  * When gradually producing to multiple partitions (resulting in multiple
   underlying AddPartitionsToTxnRequests) sub-sequent partitions could get
   stuck in pending state under certain conditions. These pending partitions
   would not send queued messages to the broker and eventually trigger
   message timeouts, failing the current transaction. This is now fixed.
  * Committing an empty transaction (no messages were produced and no
   offsets were sent) would previously raise a fatal error due to invalid state

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=24
2021-04-26 09:20:06 +00:00
68798fe9e0 Accepting request 858094 from devel:libraries:c_c++
- update to 1.5.3:
 * Fix a use-after-free crash when certain coordinator requests were retried.
 * Consumer would not filter out messages for aborted transactions
   if the messages were compressed (#3020).
 * Consumer destroy without prior `close()` could hang in certain
   cgrp states (@gridaphobe, #3127).
 * Fix possible null dereference in `Message::errstr()` (#3140).
 * The `roundrobin` partition assignment strategy could get stuck in an
   endless loop or generate uneven assignments in case the group members
   had asymmetric subscriptions (e.g., c1 subscribes to t1,t2 while c2
   subscribes to t2,t3).  (#3159)

OBS-URL: https://build.opensuse.org/request/show/858094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=9
2020-12-23 13:21:17 +00:00
08b41312ec - update to 1.5.3:
* Fix a use-after-free crash when certain coordinator requests were retried.
 * Consumer would not filter out messages for aborted transactions
   if the messages were compressed (#3020).
 * Consumer destroy without prior `close()` could hang in certain
   cgrp states (@gridaphobe, #3127).
 * Fix possible null dereference in `Message::errstr()` (#3140).
 * The `roundrobin` partition assignment strategy could get stuck in an
   endless loop or generate uneven assignments in case the group members
   had asymmetric subscriptions (e.g., c1 subscribes to t1,t2 while c2
   subscribes to t2,t3).  (#3159)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=22
2020-12-22 09:41:00 +00:00
10adc2083e Accepting request 845629 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/845629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=8
2020-11-05 20:53:12 +00:00
c1104af462 Accepting request 844028 from home:dirkmueller:branches:devel:libraries:c_c++
- 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. 
  * The default value for the producer configuration property retries has
  been increased from 2 to infinity
  * The default value for the producer configuration property
  request.timeout.ms has been increased from 5 to 30 seconds
  * lots of bugfixes, see https://raw.githubusercontent.com/edenhill/librdkafka/v1.5.2/CHANGELOG.md

OBS-URL: https://build.opensuse.org/request/show/844028
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=20
2020-11-03 08:47:55 +00:00
22caf72903 Accepting request 830730 from devel:libraries:c_c++
- Update library v1.3.0 -> 1.5.0
 * Improved broker connection error reporting with more useful information and
   hints on the cause of the problem.
 * Consumer: Propagate errors when subscribing to unavailable topics (#1540)
 * Producer: Add `batch.size` producer configuration property (#638)
 * Add `topic.metadata.propagation.max.ms` to allow newly manually created
   topics to be propagated throughout the cluster before reporting them
   as non-existent. This fixes race issues where CreateTopics() is
   quickly followed by produce().
 * Prefer least idle connection for periodic metadata refreshes, et.al.,
   to allow truly idle connections to time out and to avoid load-balancer-killed
   idle connection errors (#2845)
 * Added `rd_kafka_event_debug_contexts()` to get the debug contexts for
   a debug log line (by @wolfchimneyrock).
 * Added Test scenarios which define the cluster configuration.
 * Added MinGW-w64 builds (@ed-alertedh, #2553)
 * `./configure --enable-XYZ` now requires the XYZ check to pass,
   and `--disable-XYZ` disables the feature altogether (@benesch)
 * Added `rd_kafka_produceva()` which takes an array of produce arguments
   for situations where the existing `rd_kafka_producev()` va-arg approach
   can't be used.
 * Added `rd_kafka_message_broker_id()` to see the broker that a message
   was produced or fetched from, or an error was associated with.
 * Added RTT/delay simulation to mock brokers.
 * Subscribing to non-existent and unauthorized topics will now propagate
   errors `RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART` and
   `RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZATION_FAILED` to the application through
   the standard consumer error (the err field in the message object).
 * Consumer will no longer trigger auto creation of topics,
   `allow.auto.create.topics=true` may be used to re-enable the old deprecated

OBS-URL: https://build.opensuse.org/request/show/830730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=7
2020-09-01 18:04:30 +00:00
eed88c30e3 * Improved broker connection error reporting with more useful information and
hints on the cause of the problem.
 * Consumer: Propagate errors when subscribing to unavailable topics (#1540)
 * Producer: Add `batch.size` producer configuration property (#638)
 * Add `topic.metadata.propagation.max.ms` to allow newly manually created
   topics to be propagated throughout the cluster before reporting them
   as non-existent. This fixes race issues where CreateTopics() is
   quickly followed by produce().
 * Prefer least idle connection for periodic metadata refreshes, et.al.,
   to allow truly idle connections to time out and to avoid load-balancer-killed
   idle connection errors (#2845)
 * Added `rd_kafka_event_debug_contexts()` to get the debug contexts for
   a debug log line (by @wolfchimneyrock).
 * Added Test scenarios which define the cluster configuration.
 * Added MinGW-w64 builds (@ed-alertedh, #2553)
 * `./configure --enable-XYZ` now requires the XYZ check to pass,
   and `--disable-XYZ` disables the feature altogether (@benesch)
 * Added `rd_kafka_produceva()` which takes an array of produce arguments
   for situations where the existing `rd_kafka_producev()` va-arg approach
   can't be used.
 * Added `rd_kafka_message_broker_id()` to see the broker that a message
   was produced or fetched from, or an error was associated with.
 * Added RTT/delay simulation to mock brokers.
 * Subscribing to non-existent and unauthorized topics will now propagate
   errors `RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART` and
   `RD_KAFKA_RESP_ERR_TOPIC_AUTHORIZATION_FAILED` to the application through
   the standard consumer error (the err field in the message object).
 * Consumer will no longer trigger auto creation of topics,
   `allow.auto.create.topics=true` may be used to re-enable the old deprecated
   functionality.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=18
2020-08-31 10:25:08 +00:00
1a487be018 Accepting request 828543 from home:cbcoutinho:branches:devel:libraries:c_c++
Update library v1.3.0 -> 1.5.0

- Update locations of doc/license files
- Fix permissions to remove rpmlint warnings

OBS-URL: https://build.opensuse.org/request/show/828543
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=17
2020-08-31 10:23:13 +00:00
f771eedf3a Accepting request 790014 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/790014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=6
2020-04-04 10:19:25 +00:00
989281b1da Accepting request 788367 from home:agentdero:branches:devel:libraries:c_c++
-  Add v1.3.0 which includes a number of properties and bugfixes over 1.1.0

OBS-URL: https://build.opensuse.org/request/show/788367
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=15
2020-03-31 08:03:33 +00:00
53935c2704 Accepting request 746377 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/746377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=5
2019-11-07 22:21:25 +00:00
48b5887593 Accepting request 744491 from home:Guillaume_G:branches:devel:libraries:c_c++
- lto breaks crc32 detection in configure script, so disable it
  for non x86_64 architectures.
  Reported upstream: https://github.com/edenhill/librdkafka/issues/2426

OBS-URL: https://build.opensuse.org/request/show/744491
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=13
2019-11-07 17:47:32 +00:00
757013ed70 Accepting request 728486 from devel:libraries:c_c++
- update to 1.1.0:
  * SASL OAUTHBEARER support
  * In-memory SSL certificates (PEM, DER, PKCS#12) support
  * Pluggable broker SSL certificate verification callback
  * ssl.endpoint.identification.algorithm=https (off by default) to validate
    the broker hostname matches the certificate. Requires OpenSSL >= 1.0.2.
  * Improved GSSAPI/Kerberos ticket refresh
  * SSL peer (broker) certificate verification is now enabled by default
    (disable with enable.ssl.certificate.verification=false)
  * %{broker.name} is no longer supported in sasl.kerberos.kinit.cmd since
    kinit refresh is no longer executed per broker, but per client instance.
  * SASL GSSAPI/Kerberos: Don't run kinit refresh for each broker,
    just per client instance.
  * SASL GSSAPI/Kerberos: Changed sasl.kerberos.kinit.cmd to first attempt
    ticket refresh, then acquire.
  * SASL: Proper locking on broker name acquisition.
  * Consumer: max.poll.interval.ms now correctly handles blocking poll calls,
    allowing a longer poll timeout than the max poll interval.
  * configure: Fix libzstd static lib detection
  * rdkafka_performance: Fix for Misleading "All messages delivered!" message
- update to version 1.0.1:
  * Fix consumer stall when broker connection goes down
  * Fix AdminAPI memory leak when broker does not support request
  * Update/fix protocol error response codes
  * Treat ECONNRESET as standard Disconnects
- update to version 1.0.0:
  * This release changes configuration defaults and deprecates a set
    of configuration properties, make sure to read the Upgrade considerations
    section from https://github.com/edenhill/librdkafka/releases/tag/v1.0.0
  * add support for Idempotent Producer, providing exactly-once

OBS-URL: https://build.opensuse.org/request/show/728486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=4
2019-09-07 09:50:23 +00:00
Thomas Bechtold
52708abf92 - update to 1.1.0:
* SASL OAUTHBEARER support
  * In-memory SSL certificates (PEM, DER, PKCS#12) support
  * Pluggable broker SSL certificate verification callback
  * ssl.endpoint.identification.algorithm=https (off by default) to validate
    the broker hostname matches the certificate. Requires OpenSSL >= 1.0.2.
  * Improved GSSAPI/Kerberos ticket refresh
  * SSL peer (broker) certificate verification is now enabled by default
    (disable with enable.ssl.certificate.verification=false)
  * %{broker.name} is no longer supported in sasl.kerberos.kinit.cmd since
    kinit refresh is no longer executed per broker, but per client instance.
  * SASL GSSAPI/Kerberos: Don't run kinit refresh for each broker,
    just per client instance.
  * SASL GSSAPI/Kerberos: Changed sasl.kerberos.kinit.cmd to first attempt
    ticket refresh, then acquire.
  * SASL: Proper locking on broker name acquisition.
  * Consumer: max.poll.interval.ms now correctly handles blocking poll calls,
    allowing a longer poll timeout than the max poll interval.
  * configure: Fix libzstd static lib detection
  * rdkafka_performance: Fix for Misleading "All messages delivered!" message
- update to version 1.0.1:
  * Fix consumer stall when broker connection goes down
  * Fix AdminAPI memory leak when broker does not support request
  * Update/fix protocol error response codes
  * Treat ECONNRESET as standard Disconnects
- update to version 1.0.0:
  * This release changes configuration defaults and deprecates a set
    of configuration properties, make sure to read the Upgrade considerations
    section from https://github.com/edenhill/librdkafka/releases/tag/v1.0.0
  * add support for Idempotent Producer, providing exactly-once

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=11
2019-09-05 12:00:52 +00:00
fa9927654b Accepting request 658073 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/658073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=3
2018-12-18 13:57:05 +00:00
Thomas Bechtold
0e8d58fcf4 Accepting request 658070 from home:AndreasStieger:branches:devel:libraries:c_c++
- fix pkg-config provides warning

OBS-URL: https://build.opensuse.org/request/show/658070
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=9
2018-12-14 15:15:47 +00:00
b7e89c0db8 Accepting request 656799 from devel:libraries:c_c++
- Don't BuildRequire lz4 on SLE12
- Do not use %make_build which is not available on SLE12

OBS-URL: https://build.opensuse.org/request/show/656799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=2
2018-12-11 14:48:09 +00:00
Thomas Bechtold
ba9633a82d - Don't BuildRequire lz4 on SLE12
- Do not use %make_build which is not available on SLE12

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=7
2018-12-10 11:16:43 +00:00
316b71c70f Accepting request 655553 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/655553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librdkafka?expand=0&rev=1
2018-12-06 11:19:25 +00:00
Thomas Bechtold
83da21545e - Add missing Requires to -devel package
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=5
2018-12-06 09:24:58 +00:00
Thomas Bechtold
1f79ad55bf Accepting request 652675 from home:jengelh:branches:devel:libraries:c_c++
- Update summaries. Remove performance results that do not
  mention their reference.
- Remove duplicate Group/Summary fields.
- Fix rpmlint's "librdkafka.x86_64: W: no-binary"
- Fix shlib package requiring itself. Remove excess Provides.

OBS-URL: https://build.opensuse.org/request/show/652675
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=4
2018-11-30 09:24:58 +00:00
Thomas Bechtold
0b1a5118f3 Accepting request 652638 from home:tbechtold:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/652638
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=3
2018-11-29 15:16:42 +00:00
Thomas Bechtold
fac50a32c5 Accepting request 652594 from home:tbechtold:branches:devel:libraries:c_c++
- Fix Requires for -devel package

OBS-URL: https://build.opensuse.org/request/show/652594
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=2
2018-11-29 11:44:51 +00:00
bd215e2048 Accepting request 652590 from home:tbechtold:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/652590
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librdkafka?expand=0&rev=1
2018-11-29 10:23:55 +00:00