You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by "Steve Blackmon (JIRA)" <ji...@apache.org> on 2015/04/28 08:33:06 UTC

[jira] [Closed] (STREAMS-288) StreamsJacksonModule should not scan for DateTimeFormats by default

     [ https://issues.apache.org/jira/browse/STREAMS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Blackmon closed STREAMS-288.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.2

completed and merged 02/18/2015

> StreamsJacksonModule should not scan for DateTimeFormats by default
> -------------------------------------------------------------------
>
>                 Key: STREAMS-288
>                 URL: https://issues.apache.org/jira/browse/STREAMS-288
>             Project: Streams
>          Issue Type: Bug
>            Reporter: Robert Douglas
>             Fix For: 0.2
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)