@Deprecated
    public void writeTo(final DataOutputStream out, final int version) throws IOException {
        writeTaskIdTo(this, out, version);
    }
@throws IOException if cannot write to output stream
@deprecated since 3.0, for internal use, will be removed
streams/src/main/java/org/apache/kafka/streams/processor/TaskId.java