Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The StreamsJacksonModule's constructor is called all over the codebase and by default, it uses Reflections to scan the classpath for valid DateTimeFormats.
This is problematic because it will happen multiple times during a Stream's runtime, considerably slowing down the execution.
Instead, we should default to NOT scanning the classpath, but provide a constructor where we can pass in a flag dictating whether or not we want to scan.