aeron-archive/src/main/java/io/aeron/archive/client/ArchiveProxy.java
public boolean stopRecording(
        final long subscriptionId,
        final long correlationId,
        final long controlSessionId)
    {
        stopRecordingSubscriptionRequestEncoder
            .wrapAndApplyHeader(buffer, 0, messageHeaderEncoder)
            .controlSessionId(controlSessionId)
            .correlationId(correlationId)
            .subscriptionId(subscriptionId);

        return offer(stopRecordingSubscriptionRequestEncoder.encodedLength());
    }
public boolean stopRecording(
        final long subscriptionId,
        final long correlationId,
        final long controlSessionId)
    {
        stopRecordingSubscriptionRequestEncoder
            .wrapAndApplyHeader(buffer, 0, messageHeaderEncoder)
            .controlSessionId(controlSessionId)
            .correlationId(correlationId)
            .subscriptionId(subscriptionId);

        return offer(stopRecordingSubscriptionRequestEncoder.encodedLength());
    }
public boolean stopRecording ( final long subscriptionId , final long correlationId , final long controlSessionId ) { stopRecordingSubscriptionRequestEncoder . wrapAndApplyHeader ( buffer , 0 , messageHeaderEncoder ) . controlSessionId ( controlSessionId ) . correlationId ( correlationId ) . subscriptionId ( subscriptionId ) ; return offer ( stopRecordingSubscriptionRequestEncoder . encodedLength ( ) ) ; }
Stop an active recording by the {@link Subscription#registrationId()} it was registered with.

@param subscriptionId   that identifies the subscription in the archive doing the recording.
@param correlationId    for this request.
@param controlSessionId for this request.
@return true if successfully offered otherwise false.
Stop an active recording by the { @link Subscription#registrationId () } it was registered with .