@Override
    public String toString() {
        return "StoreQueryParameters {" +
                "partition=" + partition +
                ", staleStores=" + staleStores +
                ", storeName=" + storeName +
                ", queryableStoreType=" + queryableStoreType +
                '}';
    }
Get the flag staleStores. If {@code true}, include standbys and recovering stores along with running stores.

@return boolean staleStores
streams/src/main/java/org/apache/kafka/streams/StoreQueryParameters.java