zlacker

[parent] [thread] 1 comments
1. justin+(OP)[view] [source] 2023-11-21 04:45:57
Does it do job completion notification?

Along the lines of:

    _, err := river.Execute(context.Background(), j) // Enqueue the job, and wait for completion
    if err != nil {
        log.Fatalf("Unable to execute job: %s", err)
    }
    log.Printf("Job completed")
Does that make sense?
replies(1): >>bgentr+1w1
2. bgentr+1w1[view] [source] 2023-11-21 15:45:27
>>justin+(OP)
It sounds like you're looking to be able to find out when a job has finished working, no matter which node it was run on. No, River does not have a mechanism for that today. It's definitely something we've talked about though.
[go to top]