syntax = "proto3";

package twitch.video.usher;
option go_package = "code.justin.tv/video/usherapi/rpc/usher";

// The Job service allows rabbit jobs to be submitted for processing
// It is primarily used by the hls workers and transcode services. Its code can
// primarily be found here:
//
// https://git-aws.internal.justin.tv/video/usher/blob/master/api/job.py

message VodJob {
  int64 vod_id = 1 [json_name = "vod_id"];
}

message JobSendRequest {
  string rabbit_key = 1;
  VodJob vod_job = 2;
}

message JobSendResponse {
}
