@Override
    public TaskId taskId() {
        return taskId;
    }
Default implementation of {@link ErrorHandlerContext} that provides access to the metadata of the record that caused the error.
streams/src/main/java/org/apache/kafka/streams/errors/internals/DefaultErrorHandlerContext.java