Create a ReaderGroup for a given Stream.
A StreamReaderGroup.
An optional element cannot follow a rest element. ...args: [...stream: string[], stream_cut?: StreamCut]
The offset you would like to read from.
The reader group name.
The scope name.
Rest
...streams: string[]All stream names in this scope.
Create a Pravega scope.
The scope creation result. false
indicates that the scope exists before creation.
The scope name.
Create a stream with or without specific policy in Pravega.
The stream creation result. false
indicates that the stream exists before creation.
The scope name.
The stream name.
Optional
retention_policy: StreamRetentionPolicyThe retention policy. Default will be StreamRetentionPolicy.none()
Optional
scaling_policy: StreamScalingPolicyThe scaling policy. Default will be StreamScalingPolicy.fixed_scaling_policy(1)
Optional
tags: string[]The stream tags.
Create a transaction Writer for a given Stream.
A StreamTxnWriter.
The scope name.
The stream name.
ID (no larger than unsigned int 128) of the writer.
Create a Writer for a given Stream.
A StreamWriter.
The scope name.
The stream name.
Delete a ReaderGroup for a given Stream.
The scope name.
The reader group name.
Delete a Pravega scope.
The scope deletion result. false
indicates that the scope does not exist before deletion.
The scope name.
Deleta a Pravega stream. SEAL BEFORE DELETE!
The deletion result.
The scope name.
The stream name.
Get tags of a Pravega stream.
The stream tags.
The scope name.
The stream name.
List all scopes in Pravega.
Scope names in Promise.
List all streams in the specified Pravega scope.
Stream names in Promise.
The scope name.
Seal a Pravega stream. SEAL BEFORE DELETE!
The seal result.
The scope name.
The stream name.
A detailed view of the StreamManager.
String representation of the StreamManager.
Update a Pravega stream with new policies and tags.
The stream update result.
The scope name.
The stream name.
Optional
retention_policy: StreamRetentionPolicyThe retention policy. Default will be StreamRetentionPolicy.none()
Optional
scaling_policy: StreamScalingPolicyThe scaling policy. Default will be StreamScalingPolicy.fixed_scaling_policy(1)
Optional
tags: string[]The stream tags.
Generated using TypeDoc
Used to create, delete, and manage Streams, ReaderGroups, and Writers.