-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rdkafka): add missing methods in ClientContext. (#208)
* add missing methods in `ClientContext`. Signed-off-by: Runji Wang <wangrunji0408@163.com> * extract rdkafka changelog Signed-off-by: Runji Wang <wangrunji0408@163.com> * add missing `timeout` argument in `BaseConsumer::poll`. Signed-off-by: Runji Wang <wangrunji0408@163.com> * bump version Signed-off-by: Runji Wang <wangrunji0408@163.com> --------- Signed-off-by: Runji Wang <wangrunji0408@163.com>
- Loading branch information
1 parent
e1f6d8b
commit 368d3ae
Showing
7 changed files
with
192 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.4.1] - 2024-05-08 | ||
|
||
### Fixed | ||
|
||
- Add missing methods in `ClientContext`. | ||
- Add missing `timeout` argument in `BaseConsumer::poll`. | ||
|
||
## [0.4.0] - 2024-05-07 | ||
|
||
### Changed | ||
|
||
- The associated constant `ClientContext::ENABLE_REFRESH_OAUTH_TOKEN` is changed to a function in order to make the trait object-safe. | ||
|
||
## [0.3.4] - 2024-03-22 | ||
|
||
### Fixed | ||
|
||
- Fix unintended drop of client in `fetch_watermarks`. | ||
|
||
## [0.3.3] - 2024-02-28 | ||
|
||
### Changed | ||
|
||
- Wrap `fetch_watermarks` in `tokio::task::spawn_blocking`. | ||
|
||
## [0.3.2] - 2024-02-28 | ||
|
||
### Changed | ||
|
||
- Update librdkafka to v2.3.0. | ||
|
||
## [0.3.1] - 2024-01-05 | ||
|
||
### Fixed | ||
|
||
- Add `rdkafka::message::{Header, HeaderIter}` and `BorrowedHeaders::detach`. | ||
- Fix `rdkafka::message::Headers` trait. | ||
|
||
## [0.3.0] - 2023-10-11 | ||
|
||
### Added | ||
|
||
- Add statistics API. | ||
- Add future producer API. | ||
|
||
### Changed | ||
|
||
- Update `rdkafka` to v0.34.0 and `librdkafka` to v2.2.0. | ||
|
||
### Fixed | ||
|
||
- Fix the error type of `DeliveryFuture`. | ||
|
||
## [0.2.22] - 2023-04-19 | ||
|
||
### Added | ||
|
||
- Add `producer::DeliveryResult` and fix `ProducerContext`. | ||
|
||
## [0.2.14] - 2023-01-30 | ||
|
||
### Fixed | ||
|
||
- Resolve DNS on connection. | ||
|
||
## [0.2.13] - 2023-01-11 | ||
|
||
### Added | ||
|
||
- Add `Timestamp::to_millis`. | ||
|
||
### Changed | ||
|
||
- update to rdkafka v0.29.0. | ||
- The return type of `Producer::flush` changed to `KafkaResult<()>`. | ||
|
||
## [0.2.8] - 2022-09-26 | ||
|
||
### Added | ||
|
||
- Add simulation crate of `rdkafka`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters