createDataStream abstract method
Creates a data stream.
If you need a more comprehensive solution for low-latency, high-concurrency, and scalable real-time messaging and status synchronization, it is recommended to use.
configThe configurations for the data stream. See DataStreamConfig.
Returns ID of the created data stream, if the method call succeeds. < 0: Failure.
Implementation
Future<int> createDataStream(DataStreamConfig config);