galenwarren opened a new pull request #282:
URL: https://github.com/apache/flink-statefun/pull/282


   This fixes the issue described in 
[FLINK-25197](https://issues.apache.org/jira/browse/FLINK-25197), where this 
error occurs when using RequestReplyFunctionBuilder to build Statefun jobs:
   
   > Java 8 date/time type `java.time.Duration` not supported by default: add 
Module 
"org.apache.flink.shaded.jackson2.com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
 to enable handling 
   
   The fix is to make RequestReplyFunctionBuilder use an instance of 
StatefunObjectMapper to serialize the client spec -- previously, it used a 
non-customized instance of ObjectMapper -- and to change StatefunObjectMapper 
to support serialization of java.time.Duration values.
   
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to