-
Notifications
You must be signed in to change notification settings - Fork 43
DOCSP-47032: Network compression #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for docs-java ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome LGTM :)
- Use the ``compressors`` parameter in your connection string | ||
- Chain the ``compressorList()`` method to the ``MongoClientSettings.builder()`` method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Use the ``compressors`` parameter in your connection string | |
- Chain the ``compressorList()`` method to the ``MongoClientSettings.builder()`` method | |
- Use the ``compressors`` parameter in your connection string. | |
- Chain the ``compressorList()`` method to the ``MongoClientSettings.builder()`` method. |
S: Would use a period since there is an implied you.
MongoClient client = MongoClients.create(settings); | ||
.. literalinclude:: /includes/connect/NetworkCompression.java | ||
:start-after: start-specify-uri | ||
:end-before: end-specify-uri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the start-specify-uri
and end-specify-uri
look confusing to me, for there is no uri involved here.
maybe better naming like start-use-client-settings-builder
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good catch, I'll update these comments!
`zstd-java <https://github.com/luben/zstd-jni>`__ for details. | ||
The JDK natively supports `Zlib <https://zlib.net/>`__ compression. However, | ||
Snappy and Zstandard depend on open source Java implementations. To learn more | ||
about these implementations, see the following Github repositories: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
about these implementations, see the following Github repositories: | |
about these implementations, see the following GitHub repositories: |
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-47032
Staging Links
Self-Review Checklist