SHA256
8
0
forked from pool/librdkafka

Commit Graph

  • df4976d82e Accepting request 1265510 from devel:libraries:c_c++ main factory Ana Guerrero 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 devel Dirk Mueller 2025-03-30 10:57:03 +00:00
  • f0ad08d9dd Accepting request 1127461 from devel:libraries:c_c++ Ana Guerrero 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). Dirk Mueller 2023-11-18 19:50:39 +00:00
  • 8b139f5f3c Accepting request 1087789 from devel:libraries:c_c++ Dominique Leuenberger 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 Dirk Mueller 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 Dirk Mueller 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 Dirk Mueller 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. Dirk Mueller 2023-05-07 19:02:32 +00:00
  • d128797238 Accepting request 1083981 from devel:libraries:c_c++ Dominique Leuenberger 2023-05-03 10:56:21 +00:00
  • 994577332f Accepting request 1083355 from home:dirkmueller:Factory Marcus Meissner 2023-05-02 09:28:50 +00:00
  • d11d3cb8fe Accepting request 1062038 from devel:libraries:c_c++ Dominique Leuenberger 2023-01-31 15:08:39 +00:00
  • 764bb121e1 Accepting request 1061868 from home:dirkmueller:Factory Marcus Meissner 2023-01-30 12:03:25 +00:00
  • 7f6574d381 Accepting request 1004569 from devel:libraries:c_c++ Dominique Leuenberger 2022-09-21 12:41:38 +00:00
  • 68d6f4424a Accepting request 1003041 from home:dirkmueller:Factory Marcus Meissner 2022-09-19 06:55:15 +00:00
  • 022dd55643 Accepting request 946807 from devel:libraries:c_c++ Dominique Leuenberger 2022-01-19 23:11:52 +00:00
  • 7bdf71397a Accepting request 943868 from home:dirkmueller:Factory Marcus Meissner 2022-01-16 15:31:47 +00:00
  • 6e29e46804 Accepting request 928127 from devel:libraries:c_c++ Dominique Leuenberger 2021-10-31 21:55:32 +00:00
  • 0ed2455144 Accepting request 925676 from home:dirkmueller:Factory Marcus Meissner 2021-10-29 13:00:30 +00:00
  • 86678c879f Accepting request 901440 from devel:libraries:c_c++ Dominique Leuenberger 2021-06-25 13:01:07 +00:00
  • 123c809b5d Accepting request 897827 from home:dirkmueller:Factory Marcus Meissner 2021-06-23 09:47:37 +00:00
  • 42b9f59aa7 Accepting request 888420 from devel:libraries:c_c++ Dominique Leuenberger 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 Dirk Mueller 2021-04-26 09:20:06 +00:00
  • 68798fe9e0 Accepting request 858094 from devel:libraries:c_c++ Dominique Leuenberger 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) Dirk Mueller 2020-12-22 09:41:00 +00:00
  • 10adc2083e Accepting request 845629 from devel:libraries:c_c++ Dominique Leuenberger 2020-11-05 20:53:12 +00:00
  • c1104af462 Accepting request 844028 from home:dirkmueller:branches:devel:libraries:c_c++ Marcus Meissner 2020-11-03 08:47:55 +00:00
  • 22caf72903 Accepting request 830730 from devel:libraries:c_c++ Dominique Leuenberger 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. Dirk Mueller 2020-08-31 10:25:08 +00:00
  • 1a487be018 Accepting request 828543 from home:cbcoutinho:branches:devel:libraries:c_c++ Dirk Mueller 2020-08-31 10:23:13 +00:00
  • f771eedf3a Accepting request 790014 from devel:libraries:c_c++ Dominique Leuenberger 2020-04-04 10:19:25 +00:00
  • 989281b1da Accepting request 788367 from home:agentdero:branches:devel:libraries:c_c++ Marcus Meissner 2020-03-31 08:03:33 +00:00
  • 53935c2704 Accepting request 746377 from devel:libraries:c_c++ Dominique Leuenberger 2019-11-07 22:21:25 +00:00
  • 48b5887593 Accepting request 744491 from home:Guillaume_G:branches:devel:libraries:c_c++ Dirk Mueller 2019-11-07 17:47:32 +00:00
  • 757013ed70 Accepting request 728486 from devel:libraries:c_c++ Dominique Leuenberger 2019-09-07 09:50:23 +00:00
  • 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 Thomas Bechtold 2019-09-05 12:00:52 +00:00
  • fa9927654b Accepting request 658073 from devel:libraries:c_c++ Dominique Leuenberger 2018-12-18 13:57:05 +00:00
  • 0e8d58fcf4 Accepting request 658070 from home:AndreasStieger:branches:devel:libraries:c_c++ Thomas Bechtold 2018-12-14 15:15:47 +00:00
  • b7e89c0db8 Accepting request 656799 from devel:libraries:c_c++ Dominique Leuenberger 2018-12-11 14:48:09 +00:00
  • ba9633a82d - Don't BuildRequire lz4 on SLE12 - Do not use %make_build which is not available on SLE12 Thomas Bechtold 2018-12-10 11:16:43 +00:00
  • 316b71c70f Accepting request 655553 from devel:libraries:c_c++ Dominique Leuenberger 2018-12-06 11:19:25 +00:00
  • 83da21545e - Add missing Requires to -devel package Thomas Bechtold 2018-12-06 09:24:58 +00:00
  • 1f79ad55bf Accepting request 652675 from home:jengelh:branches:devel:libraries:c_c++ Thomas Bechtold 2018-11-30 09:24:58 +00:00
  • 0b1a5118f3 Accepting request 652638 from home:tbechtold:branches:devel:libraries:c_c++ Thomas Bechtold 2018-11-29 15:16:42 +00:00
  • fac50a32c5 Accepting request 652594 from home:tbechtold:branches:devel:libraries:c_c++ Thomas Bechtold 2018-11-29 11:44:51 +00:00
  • bd215e2048 Accepting request 652590 from home:tbechtold:branches:devel:libraries:c_c++ Dirk Mueller 2018-11-29 10:23:55 +00:00