Skip to content

Commit

Permalink
Update documentation: (#211)
Browse files Browse the repository at this point in the history
* Bump Restate to 0.6.0
* Bump SDK-Typescript to 0.6.0
* Bump SDK-Java to 0.6.0
* Bump Tour of Restate to 0.6.0

Co-authored-by: slinkydeveloper <[email protected]>
  • Loading branch information
github-actions[bot] and slinkydeveloper authored Dec 13, 2023
1 parent b2283dc commit 4dd44dc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 13 deletions.
7 changes: 2 additions & 5 deletions docs/references/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ service HelloWorld {

Bad key definition encountered while registering/updating a service.
When a service is keyed, for each method the input message must have a field annotated with `dev.restate.ext.field`.
When defining the key field, make sure:

* The field type is either a primitive or a custom message, and not a repeated field nor a map.
* The field type is the same for every method input message of the same service.
The key field type must be `string`.

Example:

Expand All @@ -50,7 +47,7 @@ service HelloWorld {
}
message GreetingRequest {
Person person = 1 [(dev.restate.ext.field) = KEY];
string person_id = 1 [(dev.restate.ext.field) = KEY];
}
```

Expand Down
6 changes: 3 additions & 3 deletions restate.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"RESTATE_VERSION": "0.5",
"TYPESCRIPT_SDK_VERSION": "0.5.1",
"RESTATE_VERSION": "0.6",
"TYPESCRIPT_SDK_VERSION": "0.6.0",
"JAVA_SDK_VERSION": "0.0.1-SNAPSHOT",
"TOUR_VERSION": "0.5.1"
"TOUR_VERSION": "0.6.0"
}
6 changes: 3 additions & 3 deletions static/schemas/config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"aws_profile": null
}
},
"tmp_dir": "/tmp/invoker-018c2b406b5e7518832e14e1134dc69b"
"tmp_dir": "/tmp/invoker-018c643db86e77aabbf01537673fc85a"
},
"kafka": {
"clusters": {}
Expand Down Expand Up @@ -467,7 +467,7 @@
"aws_profile": null
}
},
"tmp_dir": "/tmp/invoker-018c2b406b5f7433a6411ce4b801b41e"
"tmp_dir": "/tmp/invoker-018c643db86f74ce922f05651d8051e9"
},
"$ref": "#/definitions/InvokerOptions"
},
Expand Down Expand Up @@ -761,7 +761,7 @@
"tmp_dir": {
"title": "Temporary directory",
"description": "Temporary directory to use for the invoker temporary files. If empty, the system temporary directory will be used instead.",
"default": "/tmp/invoker-018c2b406b5f77728e4cb834df8c45c2",
"default": "/tmp/invoker-018c643db86f7855b8a3c1cee7a6fa91",
"type": "string"
},
"concurrency_limit": {
Expand Down
2 changes: 1 addition & 1 deletion static/schemas/openapi-meta.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/schemas/restate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ worker:
abort_timeout: 1m
message_size_warning: 10485760
message_size_limit: null
tmp_dir: /tmp/invoker-018c2b406cc172b5a759b8cfb8d812ef
tmp_dir: /tmp/invoker-018c643db9d470de8a5b6494e44fff48
concurrency_limit: null
service_client:
http:
Expand Down

0 comments on commit 4dd44dc

Please sign in to comment.