Open jongwook opened 11 years ago
Thanks for the pull request @jongwook! I have already done some preliminary netty 4 migration work on a private branch and won't be merging this request, but will use it as a reference. Thank you!
It seems this is still pending. Is there a netty 4.0.x version still in the works?
@ninowalker you can use the following fork for Netty 4 support. It is still under active development and accepts pull requests. https://github.com/mp911de/lettuce/
As netty 4 API has been fixed now, I made lettuce working with netty 4.0.4.Final.
This passes all 219 tests with no complaints, in Mac OS X 10.8.4 / Java 1.7.0_11.
Aside from find-and-replace changes, there are a few changes like
ChannelInitializer
instead ofChannelPipelineFactory
and simplifiedConnectionWatchdog.run()
@ChannelHandler.Sharable
annotation to eachChannelHandler
classes, to make the multiplicity checker happy during reconnectionCommand.output != null
checks to safely ignore responses from timed out commands. This makes theClientTask.timeout()
the happyPlease review the changes and I'd be happy to have it merged to your repository, or possibly in a separate branch for netty 4.
Many thanks for making this awesome library!