<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-4969] make zstd compression level configurable</title>
                <link>https://jira.mongodb.org/browse/JAVA-4969</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Allow configuring the zstd compression level in the same way it is configured for zlib, i.e.:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;MongoCompressor.createZstdCompressor().withProperty(MongoCompressor.LEVEL, &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Note, this will currently only be used for compression of requests, not responses, because the connection string specification currently does not support a &quot;zstdcompressionlevel&quot; param, though it does support a &quot;zlibcompressionlevel&quot; param (&lt;a href=&quot;https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.zlibCompressionLevel&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/manual/reference/connection-string/#mongodb-urioption-urioption.zlibCompressionLevel&lt;/a&gt;). I plan to file a separate SERVER issue for adding a &quot;zstdcompressionlevel&quot; param. Nonetheless, a configurable compression level for requests only is still better than nothing, and support for responses can be added once it&apos;s implemented by the server.&lt;/p&gt;

&lt;p&gt;My team&apos;s use case for this is as follows. We use the Java driver within a real-time personalization engine that must process events with super low latency. We would like to enable network compression to reduce cross-AZ network costs, but we want to enable it with compression level 1 or 2 to minimize latency.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2346353">JAVA-4969</key>
            <summary>make zstd compression level configurable</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="ashni.mehta@mongodb.com">Ashni Mehta</assignee>
                                    <reporter username="ian.springer@salesforce.com">Ian Springer</reporter>
                        <labels>
                    </labels>
                <created>Sat, 20 May 2023 19:41:20 +0000</created>
                <updated>Wed, 31 May 2023 15:54:54 +0000</updated>
                            <resolved>Wed, 31 May 2023 15:45:47 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5464474" author="JIRAUSER1262765" created="Wed, 31 May 2023 15:54:54 +0000"  >&lt;p&gt;Thanks, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ashni.mehta%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ashni.mehta@mongodb.com&quot;&gt;ashni.mehta@mongodb.com&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5464417" author="JIRAUSER1268547" created="Wed, 31 May 2023 15:44:07 +0000"  >&lt;p&gt;Hey Ian, thanks for reaching out! I&apos;ll talk to some folks about this (and the linked DRIVERS ticket that you uncovered). Given that this may impact more than just the Java driver, I&apos;m going to close this ticket for now and will share updates on &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-762&quot; title=&quot;Customisable Zstandard (zstd) compression level &quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-762&quot;&gt;DRIVERS-762&lt;/a&gt; as I have them.&lt;/p&gt;</comment>
                            <comment id="5440120" author="JIRAUSER1262765" created="Sat, 20 May 2023 19:53:57 +0000"  >&lt;p&gt;See also &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-762&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/DRIVERS-762&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5440113" author="JIRAUSER1262765" created="Sat, 20 May 2023 19:48:14 +0000"  >&lt;p&gt;Here&apos;s a PR: &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/pull/1121&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/pull/1121&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5440111" author="dbeng-pm-bot" created="Sat, 20 May 2023 19:41:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ian.springer%40salesforce.com&quot; class=&quot;user-hover&quot; rel=&quot;ian.springer@salesforce.com&quot;&gt;ian.springer@salesforce.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="983514">DRIVERS-762</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1coqi:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>