I am having some trouble understanding what is wrong with my solution for the fault tolerant multi broadcast challenge. Maybe there is some edge case I am not seeing. It would be really helpful if anyone can take a look at my code and hint me in the right direction.
I ended up solving it. I think the problem was using a bounded channel and some messages were getting lost. Switched to unbuffered (blocking) channel and everything looks ok :)!. Consumers can block on the channel, but for the producer I used a goroutine so that is doesn’t wait for consumers.