stream purge

Runs the purge process, removing messages that are marked for deletion and reclaiming disk space.

For information about the purge process, see Time-to-Live for Messages.

Permission required to run this command: Your user ID must have the adminperm permission on the stream.

NOTE: The mapr user is not treated as a superuser. MapR Streams does not allow the mapr user to run this command unless that user is given the relevant permission or permissions with access-control expressions.

Syntax

CLI
stream purge
	 -path Stream Path 
REST http[s]://<host>:<port>/rest/stream/purge?path=<path>

Parameters

Parameter Description
path The path and name of the stream to reclaim disk space from.