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

StreamsJacksonModule should not scan for DateTimeFormats by default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: