ashulin commented on code in PR #2214:
URL:
https://github.com/apache/incubator-seatunnel/pull/2214#discussion_r925101529
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/source/SeaTunnelSource.java:
##########
@@ -94,6 +94,8 @@ SourceSplitEnumerator<SplitT, StateT>
restoreEnumerator(SourceSplitEnumerator.Co
*
* @return enumerator state serializer.
*/
- Serializer<StateT> getEnumeratorStateSerializer();
+ default Serializer<StateT> getEnumeratorStateSerializer(){
+ return new DefaultSerializer<>();
+ }
Review Comment:
```suggestion
default Serializer<StateT> getEnumeratorStateSerializer() {
return new DefaultSerializer<>();
}
```
Keep the code style.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]