stream info

Displays the values of the parameters of the specified stream.

Permissions Required

To run this command, your user ID must have the following permissions:
  • readAce on the volume
  • lookupdir on directories in the path
  • adminperm
    When a user with this permission runs the command, the output includes the access-control expressions for the adminperm and topicperm permissions.
    produceperm, consumeperm, or topicperm
    When a user with one of these permissions runs the command, the output does not include any access-control expressions.
NOTE
The mapr user is not treated as a superuser. HPE Ezmeral Data Fabric 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
maprcli stream info -path <Stream Path> 
REST http[s]://<host>:<port>/rest/stream/info?path=<path>

Parameters

Parameter Description
path The path and name of the stream that you want to see information about.

Sample Output

maprcli stream info -path /streamVol/stream1 -json
{
	"timestamp":1521233326943,
	"timeofday":"2018-03-16 01:48:46.943 GMT-0700 PM",
	"status":"OK",
	"total":1,
	"data":[
		{
			"path":"/streamVol/stream1",
			"physicalsize":57344,
			"logicalsize":32768,
			"numtopics":1,
			"defaultpartitions":1,
			"ttl":604800,
			"compression":"lz4",
			"autocreate":true,
			"produceperm":"u:root",
			"consumeperm":"u:root",
			"topicperm":"u:root",
			"copyperm":"u:root",
			"adminperm":"u:root",
			"ischangelog":false,
			"timestamptype":"createtime"
		}
	]
}