@Override
    public void endZipEntry() throws IOException {
        if (currentZipEntry != null) {
            zipOutputStream.closeArchiveEntry();
            currentZipEntry = null;
        }
    }
Use the attributes from the supplied attributeMap
stroom-pipeline/src/main/java/stroom/pipeline/writer/ZipOutput.java