Upgrade Netty to 4.1.x

Description

We have both use grpc and cassandra driver in out project, but the dependency of netty is difference. The netty of grpc used is 4.1.x. And the this is a break version.So can we upgrade netty to the newer version? Thanks.

Environment

None

Pull Requests

None

Activity

Show:

Olivier Michallat 
March 23, 2017 at 5:28 PM

Actually, we've decided to revert this change on 3.2.0 (mainly to keep the Netty version in sync with some of our internal tools).

Netty 4.1 is backward compatible with 4.0, so if someone is interested in some new 4.1 feature, they can exclude the driver's Netty dependencies and declare the 4.1 ones explicitly.
If it's just to avoid dependency hell, another option is to use the shaded version like Andy mentioned.

Olivier Michallat 
July 26, 2016 at 9:30 PM

does the shaded jar work for you?

We'll want to upgrade to Netty 4.1 at some point so I'm scheduling this for 3.2.0, which would be a good time to do it.

v 
July 12, 2016 at 4:41 AM

I will try it.Many thanks

Andy Tolbert 
July 12, 2016 at 4:31 AM
(edited)

Hi , not sure what our timeline is for adopting netty 4.1 or 5.0, but in the near term you can use the shaded jar which is the driver bundled with netty shaded under a different package structure so it doesn't conflict with a version that is already in your classpath.

Fixed

Details

Assignee

Reporter

Labels

Affects versions

Fix versions

Priority

Created July 12, 2016 at 4:27 AM
Updated August 1, 2017 at 3:34 PM
Resolved August 1, 2017 at 3:34 PM