crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <>
Subject [jira] [Created] (CRUNCH-357) Allows AvroMode overrides to be less global
Date Wed, 26 Feb 2014 03:38:19 GMT
Micah Whitacre created CRUNCH-357:

             Summary: Allows AvroMode overrides to be less global
                 Key: CRUNCH-357
             Project: Crunch
          Issue Type: Improvement
          Components: Core, IO
            Reporter: Micah Whitacre
            Assignee: Josh Wills

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.

This message was sent by Atlassian JIRA

View raw message