aeron-driver/src/main/java/io/aeron/driver/buffer/FileStoreLogFactory.java
public RawLog newPublication(
        final String channel,
        final int sessionId,
        final int streamId,
        final long correlationId,
        final int termBufferLength,
        final boolean useSparseFiles)
    {
        return newInstance(
            publicationsDir, channel, sessionId, streamId, correlationId, termBufferLength, useSparseFiles);
    }
public RawLog newPublication(
        final String channel,
        final int sessionId,
        final int streamId,
        final long correlationId,
        final int termBufferLength,
        final boolean useSparseFiles)
    {
        return newInstance(
            publicationsDir, channel, sessionId, streamId, correlationId, termBufferLength, useSparseFiles);
    }
Create new {@link RawLog} in the publications directory for the supplied triplet.

@param channel          address on the media to send to.
@param sessionId        under which transmissions are made.
@param streamId         within the channel address to separate message flows.
@param correlationId    to use to distinguish this publication
@param termBufferLength length of each term
@param useSparseFiles   for the log buffer.
@return the newly allocated {@link RawLog}