feat: add processor proto #4227
Conversation
|
This is still in work in progress, quite some stuff to fix / cleanup / doc |
|
Build Failed 😭 Build Id: 3b16d165-56f0-4d3a-a410-2822c01b1f23 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
If you have some time, you could create a sequence diagram with the messages exchange to improve the documentation of this new part of the project |
I was thinking to write the doc at the end: #4190 (comment) |
I was thinking that any piece of design doc is valuable to be reviewed right now. For me it is a bit unclear how the pull batches system will work. For example how will the leader processor know from which allocator address to pull from? If one allocator is replaced, how is it autodetected? |
|
Understood, this PR is mainly for the pull effect streaming with gRPC for the proto, but all the logic around how it would communicate would be on another PR when ill implement a client and server for it If you're fine with it, I can add more info / diagram on the issue direclty until I start the task for the doc and the implementation of the client server ? I added more info on the original issue: #4190 (comment) |
|
Build Failed 😭 Build Id: ab7a2f09-29e2-42b9-bee7-5406e3ada4c1 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
/gcbrun |
|
Build Failed 😭 Build Id: 69934201-16da-44ae-9fff-d13337b6bfab Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
Build Failed 😭 Build Id: 48b7137d-0de2-48f7-b1c5-c110e72ba184 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
Build Failed 😭 Build Id: 04601fb4-90f7-4fa0-9c59-d5fdf9d4e09b Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
/gcbrun |
|
Shouldn't be affecting |
|
Build Succeeded 🥳 Build Id: d9834f2d-5570-4146-8331-94e7f5c5321e The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
Build Succeeded 🥳 Build Id: 2ff1c28d-8f9d-404d-95d8-d1303d401677 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
markmandel
left a comment
There was a problem hiding this comment.
Looks good, just a non blocking question.
| // The responses is a repeated field of AllocationResponse messages. | ||
| repeated allocation.AllocationResponse responses = 1; | ||
|
|
||
| // The errors is a repeated field of error messages. |
There was a problem hiding this comment.
(Non blocking question): I assume errors are index based? so an error at errors[4] aligns with reposnses[4], and an empty error string is no error?
markmandel
left a comment
There was a problem hiding this comment.
Looks good, just a non blocking question.
|
Build Failed 😭 Build Id: 8a3c8a5f-e2a6-4820-b7ba-87ee35fb68f8 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
/gcbrun |
|
Build Failed 😭 Build Id: 09e17944-c04f-46cb-8132-33f127302ea2 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 8b400ee0-d1b6-4e36-ae21-92710cb8a3bf The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
What type of PR is this?
/kind feature
What this PR does / Why we need it:
Add processor proto + update makefile
Which issue(s) this PR fixes:
Part of #4190
Special notes for your reviewer: