congbobo184 opened a new pull request #10648:
URL: https://github.com/apache/pulsar/pull/10648
## Motivation
Transaction add admin api `getTransactionInPendingAckStatss`
## implement
```
public class TransactionInPendingAckStats {
/** The topic of this transaction ack. */
public String topic;
/** The subscription name of this transaction sub. */
public String subName;
/** The state of this transaction pending ack. */
public String state;
/** The position of this transaction cumulative ack. */
public String cumulativeAckPosition;
/** The positions of this transaction individual ack. */
public List<String> individualAckPosition;
}
```
This is transaction buffer metrics.
### Verifying this change
Add the tests for it
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes
Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (yes)
Anything that affects deployment: (no)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]