@Override
    public boolean equals(final Object obj) {
        if (!(obj instanceof StoreQueryParameters)) {
            return false;
        }
        final StoreQueryParameters<?> storeQueryParameters = (StoreQueryParameters<?>) obj;
        return Objects.equals(storeQueryParameters.partition, partition)
                && Objects.equals(storeQueryParameters.staleStores, staleStores)
                && Objects.equals(storeQueryParameters.storeName, storeName)
                && Objects.equals(storeQueryParameters.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