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.
NOTE The mapr user is not treated as a superuser. MapR Event Store For Apache Kafka does not allow the mapr user to run this command unless that user is given the relevant permission or permissions with access-control expressions.

Permissions Required

To run this command, your user ID must have the following permissions:
NOTE The mapr user is not treated as a superuser. MapR Event Store For Apache Kafka 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
maprcli 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.