ByteStreamClientFactory
instead@Deprecated
public interface ByteStreamClient
StreamManager.createStream(String, String, io.pravega.client.stream.StreamConfiguration)
with a configuration specifying a ScalingPolicy.fixed(int)
scaling policy of 1 segment.
Reader allows direct reading of the bytes from the one and only segment of the specified stream.
Writer allows for writing raw bytes (with no headers or wrapping information) to the one and only
segment of the stream.Modifier and Type | Method and Description |
---|---|
ByteStreamReader |
createByteStreamReader(java.lang.String streamName)
Deprecated.
Creates a new ByteStreamReader on the specified stream initialized to offset 0.
|
ByteStreamWriter |
createByteStreamWriter(java.lang.String streamName)
Deprecated.
Creates a new ByteStreamWriter on the specified stream.
|
@Beta ByteStreamReader createByteStreamReader(java.lang.String streamName)
streamName
- the stream to read from.@Beta ByteStreamWriter createByteStreamWriter(java.lang.String streamName)
streamName
- The name of the stream to read from.