mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
[Streaming] Streaming data transfer supports cross language. (#7961)
* add init parameters for java * fix bug * cython * fix compile * fix test_direct_tranfer * comment * ChannelCreationParameter * fix comment * builder * lint and fix tests * fix single process test * fix checkstyle and lint * checkstyle * lint python Co-authored-by: wanxing <wanxing@B-458DMD6M-1753.local>
This commit is contained in:
@@ -37,10 +37,11 @@ class DataWriter {
|
||||
|
||||
/// Streaming writer client initialization.
|
||||
/// \param queue_id_vec queue id vector
|
||||
/// \param init_params some parameters for initializing channels
|
||||
/// \param channel_message_id_vec channel seq id is related with message checkpoint
|
||||
/// \param queue_size queue size (memory size not length)
|
||||
StreamingStatus Init(const std::vector<ObjectID> &channel_ids,
|
||||
const std::vector<ActorID> &actor_ids,
|
||||
const std::vector<ChannelCreationParameter> &init_params,
|
||||
const std::vector<uint64_t> &channel_message_id_vec,
|
||||
const std::vector<uint64_t> &queue_size_vec);
|
||||
|
||||
@@ -91,7 +92,7 @@ class DataWriter {
|
||||
StreamingStatus WriteChannelProcess(ProducerChannelInfo &channel_info,
|
||||
bool *is_empty_message);
|
||||
|
||||
StreamingStatus InitChannel(const ObjectID &q_id, const ActorID &actor_id,
|
||||
StreamingStatus InitChannel(const ObjectID &q_id, const ChannelCreationParameter ¶m,
|
||||
uint64_t channel_message_id, uint64_t queue_size);
|
||||
|
||||
/// Write all messages to channel util ringbuffer is empty.
|
||||
|
||||
Reference in New Issue
Block a user