You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2021/04/20 11:41:26 UTC
[flink-statefun] branch release-3.0 updated (06e90ee -> 777cc15)
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a change to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git.
from 06e90ee [hotfix] [docs] Point to specific version branch in playground repo
new 6c75369 [hotfix] [docs] Typo in JSON declaration
new 0424806 [hotfix] [docs] Changed Python mention to Java
new b5002fb [hotfix] [docs] Remove extra tags
new 777cc15 [hotfix][docs] Fix typos in java.md
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/content/docs/deployment/overview.md | 4 +---
docs/content/docs/sdk/java.md | 10 +++++-----
2 files changed, 6 insertions(+), 8 deletions(-)
[flink-statefun] 02/04: [hotfix] [docs] Changed Python mention to
Java
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 042480608f03e94101d0bbdbeb8e3df54ed92062
Author: George Birbilis <bi...@users.noreply.github.com>
AuthorDate: Sat Apr 17 14:51:50 2021 +0300
[hotfix] [docs] Changed Python mention to Java
This closes #226.
---
docs/content/docs/sdk/java.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content/docs/sdk/java.md b/docs/content/docs/sdk/java.md
index 62ef072..0d710b9 100644
--- a/docs/content/docs/sdk/java.md
+++ b/docs/content/docs/sdk/java.md
@@ -96,7 +96,7 @@ In the [example above](#defining-a-stateful-function), the greeter function cons
Often, functions need to consume more complex types containing several fields.
By defining a custom type, this object can be passed transparently between functions and stored in state.
-And because the type is tied to a logical typename, instead of the physical Python class, it can be passed to functions written in other language SDKs.
+And because the type is tied to a logical typename, instead of the physical Java class, it can be passed to functions written in other language SDKs.
```java
import com.fasterxml.jackson.annotation.JsonCreator;
[flink-statefun] 01/04: [hotfix] [docs] Typo in JSON declaration
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 6c7536904474c4c728be444fc6f5fbe3cb4fb167
Author: George Birbilis <bi...@users.noreply.github.com>
AuthorDate: Sat Apr 17 15:18:49 2021 +0300
[hotfix] [docs] Typo in JSON declaration
This closes #228.
---
docs/content/docs/sdk/java.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content/docs/sdk/java.md b/docs/content/docs/sdk/java.md
index 4a1ca67..62ef072 100644
--- a/docs/content/docs/sdk/java.md
+++ b/docs/content/docs/sdk/java.md
@@ -123,7 +123,7 @@ public class User {
@JsonCreator
public User(
@JsonProperty("name") String name,
- @JsonProperty("favorite_color" String favoriteColor)) {
+ @JsonProperty("favorite_color") String favoriteColor) {
this.name = Objects.requireNonNull(name);
this.favoriteColor = Objects.requireNonNull(favoriteColor);
@@ -443,4 +443,4 @@ public class UndertowMain {
## Next Steps
-Keep learning with information on setting up [I/O modules]({{< ref "docs/io-module/overview" >}}) and configuring the [Stateful Functions runtime]({{< ref "docs/deployment/overview" >}}).
\ No newline at end of file
+Keep learning with information on setting up [I/O modules]({{< ref "docs/io-module/overview" >}}) and configuring the [Stateful Functions runtime]({{< ref "docs/deployment/overview" >}}).
[flink-statefun] 03/04: [hotfix] [docs] Remove extra tags
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit b5002fbc05ca1be6bee38df4952fd714bc81566a
Author: Siddique Ahmad <Si...@gmail.com>
AuthorDate: Sat Apr 17 01:10:34 2021 +0500
[hotfix] [docs] Remove extra tags
This closes #225.
---
docs/content/docs/deployment/overview.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/docs/content/docs/deployment/overview.md b/docs/content/docs/deployment/overview.md
index 16325cc..e6bc3b1 100644
--- a/docs/content/docs/deployment/overview.md
+++ b/docs/content/docs/deployment/overview.md
@@ -169,8 +169,6 @@ data:
{{< details "jobmanager-service.yaml" >}}
```yaml
-`jobmanager-service.yaml`
-```yaml
apiVersion: v1
kind: Service
metadata:
@@ -340,4 +338,4 @@ spec:
- key: module.yaml
path: module.yaml
```
-{{< /details >}}
\ No newline at end of file
+{{< /details >}}
[flink-statefun] 04/04: [hotfix][docs] Fix typos in java.md
Posted by tz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tzulitai pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git
commit 777cc15716e753f2674fa282325f63ee7e232a15
Author: ariskk <ar...@ariskk.com>
AuthorDate: Fri Apr 16 17:30:09 2021 +0100
[hotfix][docs] Fix typos in java.md
This closes #224.
---
docs/content/docs/sdk/java.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content/docs/sdk/java.md b/docs/content/docs/sdk/java.md
index 0d710b9..67b9c9f 100644
--- a/docs/content/docs/sdk/java.md
+++ b/docs/content/docs/sdk/java.md
@@ -58,7 +58,7 @@ public class GreeterFn implements StatefulFunction {
@Override
CompletableFuture<Void> apply(Context context, Message message) {
- String name = message.asUTF8String();
+ String name = message.asUtf8String();
var storage = context.storage();
var seen = storage.get(SEEN).orElse(0);
@@ -114,7 +114,7 @@ public class User {
public static final Type<User> TYPE = SimpleType.simpleImmutableTypeFrom(
TypeName.typeNameFromString("com.example/User"),
mapper:writeValueAsBytes,
- bytes -> mapper.readValue(byes, User.class));
+ bytes -> mapper.readValue(bytes, User.class));
private final String name;