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.


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


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