stream upstream list

Lists all of the streams that are replicating to a given stream.

Permission required to run this command: Your user ID must have the adminperm permission on the given 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.

Syntax

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

Parameters

Parameter Description
path The path and name of the stream that you want to list the source streams for.

Sample Output

# maprcli stream upstream list -path /dst -json
{
	"timestamp":1437992841303,
	"timeofday":"2015-07-27 03:27:21.303 GMT-0700",
	"status":"OK",
	"total":1,
	"data":[
		{
			"cluster":"my.cluster.com",
			"stream":"/src",
			"idx":1,
			"uuid":"3e98ee93-d88a-f3d6-bc80-001b02b65500"
		}
	]
}

Field Descriptions

cluster
The name of the MapR cluster in which the upstream stream is located.
stream
The name of the upstream stream.
idx
The index number of the upstream stream.
uuid
The upstream stream's universally unique identifier.