Introduce OffsetsForLeaderEpochRequest/Response
Open
component=log
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 625
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 97
Description
### Search before asking
- [x] I searched in the [issues](https://github.com/alibaba/fluss/issues) and found nothing similar.
### Motivation
To use LeaderEpoch rather than HighWatermark for truncation, we need to introduce `OffsetsForLeaderEpochRequest/Response` to fetch the latest `LeaderEpoch -> Offset` info from leader to truncate log.
### Solution
_No response_
### Anything else?
_No response_
### Willingness to contribute
- [x] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.