Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-357

Allow AvroMode overrides to be less global

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0, 0.8.3
    • Component/s: Core, IO
    • Labels:
      None

      Description

      Currently consumers wanting to specify a custom reader must globally override the ReaderFactory for a specific mode. This means that if one AvroFileSource changes the factory it could affect all other sources in the pipeline without anyone knowing it.

      One thought was what if a consumer could get a "local" AvroMode instance, configure it to their needs and then specify that mode to the AvroFileSource to configure that source without changing any global state.

        Attachments

        1. CRUNCH-357_immutable_with_doctests.patch
          23 kB
          Micah Whitacre
        2. CRUNCH-357_immutable.patch
          16 kB
          Gabriel Reid
        3. CRUNCH-357.patch
          8 kB
          Micah Whitacre

          Activity

            People

            • Assignee:
              mkwhitacre Micah Whitacre
              Reporter:
              mkwhitacre Micah Whitacre
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: