danthegoodman1 / UltraQueue

Distributed pull queue based on Segment's Centrifuge. Zero dependency p2p clustering.
GNU Affero General Public License v3.0
1 stars 0 forks source link

Forward ACK/NACK requests to proper partition #5

Closed danthegoodman1 closed 2 years ago

danthegoodman1 commented 2 years ago

When an ACK or NACK requests comes in for another partition, we should forward that request over gRPC to the proper partition.

The HTTP and GRPC servers need to look into the GossipManager if the incoming task is not for the current partition, look up the correct partition, and then forward to the correct partition over the internal grpc interface given from the advertised address