public ListTransactionsOptions filterOnDuration(long durationMs) {
        this.filteredDuration = durationMs;
        return this;
    }
Filter only the transactions that are running longer than the specified duration.
If no filter is specified or if the passed duration ms is less than 0,
then the all transactions will be returned.

@param durationMs the duration in milliseconds to filter by
@return this object
clients/src/main/java/org/apache/kafka/clients/admin/ListTransactionsOptions.java