restate icon indicating copy to clipboard operation
restate copied to clipboard

Record service protocol version and send to service endpoint

Open tillrohrmann opened this issue 1 year ago • 0 comments

This commit introduces the selection of a service protocol version when starting the InvocationTask. The service protocol version is sent to the service endpoint via the content type and accept headers in the form of vnd.restate.invocation.vX. Additionally, we record the chosen service protocol version in the journal metadata for sanity checks. Note, currently we don't support resuming an invocation that was started on an older protocol version with a newer protocol version.

This fixes https://github.com/restatedev/restate/issues/1510.

This PR is based on #1508.

tillrohrmann avatar May 14 '24 17:05 tillrohrmann