Add interface to specify custom partitioners by extending ProducerContext
trait with capability to return optional custom partitioner.
Add seek_partitions to consumer.
0.32.1 (2023-06-09)
Add support for the cluster mock API.
Expose assignment_lost method on the consumer.
0.31.0 (2023-05-17)
Breaking change. Pass KafkaError to rebalance hooks instead of human-readable string
representation.
0.30.0 (2023-05-12)
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...).
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
64bc9b6
Release v0.33.0.d036b2e
Merge pull request #592 from mlowicki/master740f172
changes to generic params to make everything backward compatibleab684c8
reviewab62d59
adjust comment + extra test1d76448
review fixesedb0572
fix6fa090d
put address of context inside opaque48a04c8
avoid using boxed partitioner5d1c3d4
fmtDependabot 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)