Support for unassigning static partitions by passing null to rdsys::rd_kafka_assign and expose the
feature as unassign in base_consumer
Expose rdsys::rd_kafka_incremental_assign and rdsys::rd_kafka_incremental_unassign in base_consumer for
incremental changes to static assignments
Breaking change.util::get_rdkafka_version now returns (i32, String).
Previously, it returned (u16, String) which would silently truncate the hex
representation of the version:
Interpreted as hex MM.mm.rr.xx:
MM = Major
mm = minor
rr = revision
xx = pre-release id (0xff is the final release)
E.g.: 0x010902ff = 1.9.2
Add the AdminClient::delete_groups method, which deletes consumer groups
from a Kafka cluster (#510).
Add support for the purge API, that allows retreiving messages that were
queued for production when shutting down. It is automatically called on Drop.
Fixes leaking associated data (futures...).
0.29.0 (2022-10-29)
Breaking change. Pass through errors from librdkafka in
BaseProducer::flush, StreamProducer::flush, and FutureProducer::flush.
Breaking change. Only provide NaiveRuntime if the naive-runtime
feature is enabled. This elides a dependency on futures-executor when the
naive-runtime feature is disabled.
Breaking change. Remove the deprecated StreamConsumer::start method.
Use the more clearly named StreamConsumer::stream method instead.
Breaking change. Rework the Headers trait to distinguish between
headers with null values and headers with empty values. The Headers::get
and Headers::get_as methods now return a Header struct with the following
definition:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rdkafka to permit the latest version.
Changelog
Sourced from rdkafka's changelog.
... (truncated)
Commits
4b09836
Cut line of changes for releasing 0.30.03775228
Fix doc comment regarding supported MSRV.9bb52a8
Merge pull request #575 from fede1024/davidblewett/export3b211c3
Re-export the bundled rdkafka-sys modules.56b6096
Merge pull request #544 from fede1024/dependabot/cargo/zstd-sys-2.0.6zstd.1.5.20bfca69
Switch to basic nightly68c7f4e
Bump zstd-sys from 2.0.1+zstd.1.5.2 to 2.0.6+zstd.1.5.26a270d0
Merge pull request #570 from ClementTsang/update_ci_workflow791f1ab
Update util.rs64ae0fe
Update README.mdDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)