@Deprecated
    public int getPartition() {
        return partition;
    }
Get the store partition corresponding to the key.

@return store partition number
@deprecated since 2.7.0; use {@link #partition()} instead.
streams/src/main/java/org/apache/kafka/streams/KeyQueryMetadata.java