stream info
Displays the values of the parameters of the specified stream.
adminperm
- When a user with this permission runs the command, the output includes the
access-control expressions for the
adminperm
andtopicperm
permissions. produceperm
,consumeperm
, ortopicperm
- 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 |
|
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"
}
]
}