[JAVA-3131] Add client metadata for the different drivers Created: 02/Jan/19  Updated: 28/Oct/23  Resolved: 17/Jan/19

Status: Closed
Project: Java Driver
Component/s: Async, Monitoring
Affects Version/s: None
Fix Version/s: 3.10.0

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

Backwards Compatibility: Fully Compatible

 Description   

Currently we can't distinguish between the sync and async drivers using client metadata. This makes it harder to decide whether the async driver can be removed in 4.0.

This update appends extra information to the driver name:

  • legacy : mongo-java-driver|legacy
  • sync : mongo-java-driver|sync
  • async : mongo-java-driver|async


 Comments   
Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}

Message: Revert driver metadata for netty

It doesn't catch programmatically set netty streamfactories. Also
as StreamType is being removed in 4.0 along with NettyMongoClients.java

JAVA-3131
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/0532d18076098b740bbaf3d950533402739dde7f

Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}

Message: Added more driver name information

Previously, all drivers (legacy, sync, async) would just report the driver name "mongo-java-driver".
This update appends extra information to the driver name:

  • legacy : mongo-java-driver|legacy
  • sync : mongo-java-driver|sync
  • async : mongo-java-driver|async
  • netty : mongo-java-driver|async|netty

JAVA-3131
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/9a1b6136f3f0f7a6b6bee31787633044d8f53ba6

Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}

Message: Revert driver metadata for netty

It doesn't catch programmatically set netty streamfactories. Also
as StreamType is being removed in 4.0 along with NettyMongoClients.java

JAVA-3131
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d75138fae458e6129b154b05f45e02665cda3da7

Comment by Githook User [ 17/Jan/19 ]

Author:

{'username': 'rozza', 'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley'}

Message: Added more driver name information

Previously, all drivers (legacy, sync, async) would just report the driver name "mongo-java-driver".
This update appends extra information to the driver name:

  • legacy : mongo-java-driver|legacy
  • sync : mongo-java-driver|sync
  • async : mongo-java-driver|async
  • netty : mongo-java-driver|async|netty

JAVA-3131
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/acddcdf72a2e02b211f4270d1dff3fb36f9a203a

Comment by Ross Lawley [ 16/Jan/19 ]

PR: https://github.com/rozza/mongo-java-driver/pull/310

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