xenon-middleware / xenon-grpc

Xenon grpc based server
Apache License 2.0
0 stars 1 forks source link

Identify job-id in JobOutputStreams #18

Closed jhidding closed 7 years ago

jhidding commented 7 years ago

As I see it, there currently is no way to see which job is giving output. Or is this fixed by sending an empty message to the JobInputStream?

sverhoeven commented 7 years ago

The client asked for a JobOutputStreams using the getStreams rpc method. The getStream method requires a job object as input, any yields on the JobOutputStreams will be of that job. So the client should keep track which JobOutputStreams belongs to which job.