Uploaded image for project: 'Streams'
  1. Streams
  2. STREAMS-288

StreamsJacksonModule should not scan for DateTimeFormats by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robdoug Robert Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: