Skip to content

Commit 172ff9f

Browse files
Update README.md
Co-authored-by: Arnaud <[email protected]>
1 parent 3f4cc9e commit 172ff9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import org.apache.flinkx.api.serializers._
2828

2929
### State
3030

31-
`flink-scala-api` generates at compile-time specific TypeInformation & TypeSerializer. To use them for state serialization, ensure to replace state descriptor constructors using `Class[T]` param with constructors using `TypeInformation[T]` param:
31+
Ensure to replace state descriptor constructors using `Class[T]` param with constructors using `TypeInformation[T]` or `TypeSerializer[T]` param:
3232
```scala
3333
// state using Kryo
3434
val eventStateDescriptor = new ValueStateDescriptor[Event]("event", classOf[Event])

0 commit comments

Comments
 (0)