Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadline propagation #1149

Open
javiertoja opened this issue Nov 14, 2024 · 0 comments
Open

Deadline propagation #1149

javiertoja opened this issue Nov 14, 2024 · 0 comments
Labels
question A question about this library or its usage

Comments

@javiertoja
Copy link

The context

I have process that requires a sequence of calls via GRPC, this process involves 3 different systems:

  • A
  • B
  • C

They are connected following the dag: A->B->C, via synchronous blocking calls.

The question

I want to set a tighter deadline in the request between A->B than the time that it might require B to fulfill the request. If the deadline is reached, I would like B to continue processing the request.

This can be achieved if B keeps processing the request even after the deadline. My question relates to the automatic propagation of the deadlines, because I'm wondering if the deadline set in A->B, can be automatically propagated to the request B->C, generating an issue in the process being executed in B cancelling its execution

The application's environment

Which versions do you use?

  • Spring (boot): 3.3.4
  • grpc-java: 1.68.0
  • grpc-spring-boot-starter: 3.1.0
  • java: version + architecture (64bit?) 21-zulu
  • Other relevant libraries...
@javiertoja javiertoja added the question A question about this library or its usage label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question about this library or its usage
Projects
None yet
Development

No branches or pull requests

1 participant