Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We do need to bump API version for ListTransactionsRequest from 0 to 1.

When using In case a new AdminClient is sending to send durationFilter (greater than 0) to an older broker, ListTransactionsRequest AdminClient will fail to build at the client sidethe ListTransactionsRequest and throw an UnsupportedVersionException. This check will require some check to be made at ListTransactionsRequest.Builder.build(short version) method. A new AdminClient can still generate older version of ListTransactionsRequest when it user sets durationFilter to 0 (or does not set a durationFilter).

Rejected Alternatives

An alternative to enhancing these tools is to enable debug logging and parse through coordinator logs to get information like completion time and run duration for a transaction. Its better to enhance the tools (fix in case of DescribeTransactions ) to provide a unified and convenient user experience.

...