GitHub user ilganeli opened a pull request:

    https://github.com/apache/incubator-apex-core/pull/129

    [APEX-209] Refactored monolithic deployInputStream function.

    In an effort to better understand the flow of data within Apex, I have 
refactored the monolithic (200+ line long) deployInputStreams function to 
modularize it, add comments, and clarify operational flow.
    This patch also includes formatting fixes per CodeStyle/CheckStyle 
guidelines for this function.
    
    I would very much appreciate a review to confirm that method and variable 
names make sense and that comments appropriately capture what's going on. There 
has not been any modification of code (with the exception of duplicate 
instantiation of streamCodecIdentifier, streamCodec, sinkIdentifer, and 
sourceIdentifier in connectInputToBufferServer and connectInputToLocalSink. 
This was done for the sake of more concise method declaration. All other 
changes only involved method extraction.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ilganeli/incubator-apex-core 
RefactorDeployInputStreams3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-apex-core/pull/129.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #129
    
----
commit 02250952cfd003bb5e07eba9bf3b4acea35d480b
Author: Ilya Ganelin <[email protected]>
Date:   2015-10-21T15:27:32Z

    Refactored deployInputStreams to be easier to understand and parse. This 
resolves APEX-209

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to