GitHub user dkulp opened a pull request:

    https://github.com/apache/avro/pull/259

    [AVRO-2106] Start splitting jetty/netty out of avro-ipc

    This is not ready to be merged, but wanted to prototype this to start a 
discussion to see if this is the right track.
    
    Basically, I pulled the jetty/netty stuff out of avro-ipc into 
implementation specific avro-ipc-jetty and avro-ipc-netty modules.   Thus, the 
stuff remaining in avro-ipc is more "generic" and doesn't rely on either of the 
implementations.
    
    To avoid the "split package" issue, I had to move them to separate 
packages.   That's an incompatibility, but hopefully not major.    However, I 
updated the Ipc.java to (reflectively) create the appropriate server that it 
can find.   I'm slowly updating the rest of the projects to use 
Ipc.createServer instead of "new HttpServer" or "new NettyServer" which then 
allows selection of the impl based on which dependency is found.   
    
    Anyway almost all the tests are duplicated in all three modules now (that 
needs to be cleaned up) and I'm still working on downstream modules to flip to 
using the Ipc.createServer stuff, but I wanted to start a discussion before 
going too far with it.

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

    $ git pull https://github.com/dkulp/avro AVRO-2106

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

    https://github.com/apache/avro/pull/259.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 #259
    
----
commit 6123bc0242a831af1d8fe878592b6e97eb9c2b39
Author: Daniel Kulp <dk...@apache.org>
Date:   2017-11-17T16:59:25Z

    [AVRO-2106] Start splitting jetty/netty out of avro-ipc

----


---

Reply via email to