yyu1993 opened a new pull request, #15384:
URL: https://github.com/apache/kafka/pull/15384

   Introduces a new filter in ListTransactionsRequest API. This enables caller 
to filter on transactions that have been running for longer than a certain 
duration of time.
   This PR includes the following changes:
   1.  bumps version for ListTransactionsRequest API to 1. Set the 
durationFilter to 0 when communicating with an older broker that does not 
support version 1.
   2. bumps version for ListTransactionsResponse to 1 without changing the 
response structure.
   3. adds durationFilter option to `kafka-transactions.sh --list`
   
   Tests:
   
   - Client side test to build request with correct combination of duration 
filter and API version. `testBuildRequestWithDurationFilter`
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to