-
Notifications
You must be signed in to change notification settings - Fork 17
Implement the shipper's gRPC API #34
Comments
@faec I have some questions to ask regarding the last shipper API change: This are statements to double check that I understood the docs correctly:
Q1: I faced one edge-case I'm not sure about: what to do on the server when we failed to enqueue a single event? I'm talking about the time when Q2: What's the idea behind having |
Q1: A full queue is the only way an event can fail to enqueue -- the queue API itself (e.g. Q2: That's probably an oversight -- I didn't intentionally make those different, and didn't realize what the 3 doesn't look right, though -- |
Regarding Q1 – that's what I also thought. Q2: I've already implemented the streaming API there, after a closer look I think it can be beneficial for the clients. They can just subscribe to Regarding 3: I think I'm missing something here, how does one get the See #76 for more context. |
Hmm, you're right, I could see it making sense for the persisted index call to be a stream, let's try it that way. The actual value of |
Removed #97 as it doesn't block completion of this issue. |
Closing this one, testing tracked as part of the 8.5 milestone. |
Implement the shipper's gRPC API, which is currently a skeleton defined in https://github.com/elastic/elastic-agent-shipper/blob/main/server/server.go
The API specification is currently defined in https://github.com/elastic/elastic-agent-shipper/blob/main/api/shipper.proto
Acceptance Criteria:
PersistedIndex
notAcceptedCount
beats#32329The text was updated successfully, but these errors were encountered: