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:
Andy Tolbert
July 12, 2016, 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.

v
July 12, 2016, 4:41 AM

I will try it.Many thanks

Olivier Michallat
July 26, 2016, 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.

Olivier Michallat
March 23, 2017, 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.

Fixed

Assignee

Unassigned

Reporter

v

Labels

PM Priority

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure