SequenceFileBolt sequenceFileBolt = new SequenceFileBolt();
KarmaSequenceFormat sequenceFormat = new KarmaSequenceFormat("id", "json");
sequenceFileBolt.withSequenceFormat(sequenceFormat);
DefaultFileNameFormat fileNameFormat = new DefaultFileNameFormat();
fileNameFormat.withExtension(".seq");
fileNameFormat.withPath("/tmp/storm");
fileNameFormat.withPrefix("karma");
sequenceFileBolt.withFileNameFormat(fileNameFormat);
sequenceFileBolt.withFsUrl("file:///");
sequenceFileBolt.withSyncPolicy(new CountSyncPolicy(1));