| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: librdkafka-devel | Distribution: openSUSE Tumbleweed |
| Version: 2.12.1 | Vendor: openSUSE |
| Release: 1.1 | Build date: Mon Dec 29 00:33:28 2025 |
| Group: Development/Libraries/C and C++ | Build host: reproducible |
| Size: 533527 | Source RPM: librdkafka-2.12.1-1.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://github.com/edenhill/librdkafka | |
| Summary: Development files for the Kafka C/C++ library | |
librdkafka is a C library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. This package contains development headers and examples.
BSD-2-Clause
* Sun Dec 28 2025 Dirk Müller <dmueller@suse.com>
- update to 2.12.1:
* Restored macOS binaries compatibility with macOS 13 and 14
* Fix to restore macOS 13 and 14 compatibility in prebuilt
binaries present in `librdkafka.redist`.
* Happening since 2.12.0 (#5219).
* Starting with **librdkafka 2.12.0**, the next generation
consumer group rebalance protocol defined in **KIP-848** is
* *production-ready**. Please refer the following migration
guide for moving from `classic` to `consumer` protocol.
* Support for OAUTHBEARER metadata based authentication types,
* starting with Azure IMDS. Introduction available (#5155).
* Fix compression types read issue in GetTelemetrySubscriptions
response
* for big-endian architectures (#5183, @paravoid).
* Fix for KIP-1102 time based re-bootstrap condition (#5177).
* Fix for discarding the member epoch in a consumer group
heartbeat response when leaving with an inflight HB (#4672).
* Fix for an error being raised after a commit due to an
existing error in the topic partition (#4672).
* Fix double free of headers in `rd_kafka_produceva` method
(@blindspotbounty, #4628).
* Fix to ensure `rd_kafka_query_watermark_offsets` enforces the
specified timeout and does not continue beyond timeout expiry
(#5201).
* New walkthrough in the Wiki about configuring Kafka cross-
realm authentication between Windows SSPI and MIT Kerberos.
* Sun Mar 30 2025 Dirk Müller <dmueller@suse.com>
- 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
(#4875).
* Upgrade Windows dependencies: MSVC runtime to 14.40.338160.0,
* zstd 1.5.6, zlib 1.3.1, OpenSSL 3.3.2, CURL 8.10.1 (#4872).
* SASL/SCRAM authentication fix: avoid concatenating
* client side nonce once more, as it's already prepended in
server sent nonce (#4895).
* Allow retrying for status code 429 ('Too Many Requests') in
HTTP requests for OAUTHBEARER OIDC (#4902).
* KIP-460 Admin Leader Election RPC
* [KIP-714] Complete consumer metrics support (#4808).
* [KIP-714] Produce latency average and maximum metrics support
for parity with Java client (#4847).
* [KIP-848] ListConsumerGroups Admin API now has an optional
filter to return only groups
* of given types.
* Added Transactional id resource type for ACL operations
* Fix for permanent fetch errors when using a newer Fetch RPC
version with an older inter broker protocol (#4806).
* Sat Nov 18 2023 Dirk Müller <dmueller@suse.com>
- 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 07 2023 Dirk Müller <dmueller@suse.com>
- 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`.
Only certain functions were made to reset the timer,
but it is possible for the user to obtain the queue with
messages from the broker, skipping these functions. This was fixed by
encoding information in a queue itself, that, whether polling,
resets the timer.
* Thu Apr 27 2023 Dirk Müller <dmueller@suse.com>
- 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.
* Sun Jan 29 2023 Dirk Müller <dmueller@suse.com>
- 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
mentioned operations in sequential order in order to get consistent result.
* For **rebalancing** operation to work in sequencial manner, please set
`rebalance_cb` configuration property (refer
[examples/rdkafka_complex_consumer_example.c]
* (examples/rdkafka_complex_consumer_example.c) for the help with the
usage) for the consumer.
* Added `rd_kafka_sasl_set_credentials()` API to update SASL credentials.
* Setting `allow.auto.create.topics` will no longer give a warning if used
by a producer, since that is an expected use case. Improvement in
documentation for this property.
* Added a `resolve_cb` configuration setting that permits using custom
DNS resolution logic.
* Added `rd_kafka_mock_broker_error_stack_cnt()`.
* The librdkafka.redist NuGet package has been updated to have fewer external
dependencies for its bundled librdkafka builds, as everything but cyrus-sasl
is now built-in. There are bundled builds with and without linking to
cyrus-sasl for maximum compatibility.
* Admin API DescribeGroups() now provides the group instance id
for static members KIP-345 (#3995).
* Fixed memory leak when loading SSL certificates (@Mekk, #3930)
* Load all CA certificates from `ssl.ca.pem`, not just the first one.
* Each HTTP request made when using OAUTHBEARER OIDC would leak a small
amount of memory.
* When a PID epoch bump is requested and the producer is waiting
to reconnect to the transaction coordinator, a failure in a find coordinator
request could cause an assert to fail. This is fixed by retrying when the
coordinator is known (#4020).
* Transactional APIs (except `send_offsets_for_transaction()`) that
timeout due to low timeout_ms may now be resumed by calling the same API
again, as the operation continues in the background.
* For fatal idempotent producer errors that may be recovered by bumping the
epoch the current transaction must first be aborted prior to the epoch bump.
This is now handled correctly, which fixes issues seen with fenced
transactional producers on fatal idempotency errors.
* Timeouts for EndTxn requests (transaction commits and aborts) are now
automatically retried and the error raised to the application is also
a retriable error.
* TxnOffsetCommitRequests were retried immediately upon temporary errors in
`send_offsets_to_transactions()`, causing excessive network requests.
These retries are now delayed 500ms.
* If `init_transactions()` is called with an infinite timeout (-1),
the timeout will be limited to 2 * `transaction.timeout.ms`.
The application may retry and resume the call if a retriable error is
returned.
* Back-off and retry JoinGroup request if coordinator load is in progress.
* Fix `rd_kafka_consume_batch()` and `rd_kafka_consume_batch_queue()` skipping
other partitions' offsets intermittently when **seek**, **pause**, **resume**
or **rebalancing** is used for a partition.
* Fix `rd_kafka_consume_batch()` and `rd_kafka_consume_batch_queue()`
intermittently returing incorrect partitions' messages if **rebalancing**
happens during these operations.
* Mon Sep 12 2022 Dirk Müller <dmueller@suse.com>
- 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
limited by `socket.connection.setup.timeout.max.ms` - this was not
implemented in librdkafka due to differences in connection handling and
`ERR__ALL_BROKERS_DOWN` error reporting. Having a lower initial connection
setup timeout and then increase the timeout for the next attempt would
yield possibly false-positive `ERR__ALL_BROKERS_DOWN` too early.
* SASL OAUTHBEARER refresh callbacks can now be scheduled for execution
on librdkafka's background thread. This solves the problem where an
application has a custom SASL OAUTHBEARER refresh callback and thus needs to
call `rd_kafka_poll()` (et.al.) at least once to trigger the
refresh callback before being able to connect to brokers.
With the new `rd_kafka_conf_enable_sasl_queue()` configuration API and
`rd_kafka_sasl_background_callbacks_enable()` the refresh callbacks
can now be triggered automatically on the librdkafka background thread.
* `rd_kafka_queue_get_background()` now creates the background thread
if not already created.
* Added `rd_kafka_consumer_close_queue()` and `rd_kafka_consumer_closed()`.
This allow applications and language bindings to implement asynchronous
consumer close.
* Bundled zlib upgraded to version 1.2.12.
* Bundled OpenSSL upgraded to 1.1.1n.
* Added `test.mock.broker.rtt` to simulate RTT/latency for mock brokers.
- enable libcurl integration
- enable RapidJSON integration
* Tue Jan 04 2022 Dirk Müller <dmueller@suse.com>
- 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
* Sat Oct 16 2021 Dirk Müller <dmueller@suse.com>
- 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
* Sun Jun 06 2021 Dirk Müller <dmueller@suse.com>
- 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
/usr/include/librdkafka /usr/include/librdkafka/rdkafka.h /usr/include/librdkafka/rdkafka_mock.h /usr/include/librdkafka/rdkafkacpp.h /usr/lib/librdkafka++.so /usr/lib/librdkafka.so /usr/lib/pkgconfig/rdkafka++-static.pc /usr/lib/pkgconfig/rdkafka++.pc /usr/lib/pkgconfig/rdkafka-static.pc /usr/lib/pkgconfig/rdkafka.pc
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jan 1 23:08:50 2026