stream info

Displays the values of the parameters of the specified stream.

To run this command, your user ID must have one of the following permissions
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. 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 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 for a User with the adminperm Permission

# maprcli stream info -path /tests1 -json
{
	"timestamp":1437484877609,
	"timeofday":"2015-07-21 06:21:17.609 GMT-0700",
	"status":"OK",
	"total":6,
	"data":[
		{
			"path":"/tests1",
			"physicalsize":59932672,
			"logicalsize":405741568,
			"numtopics":2,
			"defaultpartitions":4,
			"ttl":604800,
			"compression":"lz4",
			"autocreate":true,
			"produceperm":"u:root",
			"consumeperm":"u:root",
			"topicperm":"u:root",
			"adminperm":"u:root"
		}
	]
}