[JAVA-3511] Clean up Netty Created: 14/Nov/19  Updated: 28/Oct/23  Resolved: 20/Nov/19

Status: Closed
Project: Java Driver
Component/s: Async
Affects Version/s: None
Fix Version/s: 4.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Clean up a number of issues regarding Netty on the 4.x branch:

  1. We only test Netty when JDK == 6, but now our minimum is 8.  We should add a new variant specifically for Netty to ensure it's tested regardless of Java version
  2. We should upgrade our Netty dependency to the latest patch
  3. We should remove all references to the streamType connection string parameter, as it's no longer supported
  4. We should rename the now-test-only system property to org.mongodb.test.async.type


 Comments   
Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Update exception message to recommend TlsChannel instead of Netty

JAVA-3511
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/fc74cf5549e34e296944fe0dbf4df5cdb018b936

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Remove references to removed connection string streamType parameter

JAVA-3511
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/34302ad9b5343832fafbd9fd3f13cfab5b3623b4

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Add Evergreen variant for Netty testing

JAVA-3511
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/44abe496d8da7ad5d3d197a6aac2c36cdab6756b

Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Update Netty version to 4.1.43.Final

JAVA-3511
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/0bc0a67f9afd44a36c58c451f2b14d619d1506cf

Generated at Thu Feb 08 08:59:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.