dependabot[bot] opened a new pull request, #3758:
URL: https://github.com/apache/storm/pull/3758

   Bumps [redis.clients:jedis](https://github.com/redis/jedis) from 5.1.0 to 
5.2.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/redis/jedis/releases";>redis.clients:jedis's 
releases</a>.</em></p>
   <blockquote>
   <h2>5.2.0 GA</h2>
   <h2>Enhanced Client-side caching</h2>
   <p>We are happy to announce that improved <a 
href="https://redis.io/docs/manual/client-side-caching/";>server-assisted, 
client-side caching</a> is now generally available! Special thanks to all our 
beta testers for their valuable feedback, which helped us refine and improve 
the initial implementation.</p>
   <p>Client-side caching is supported exclusively with the RESP3 protocol with 
Redis &gt;= 7.4 and is available in UnifiedJedis, JedisPooled, and JedisCluster 
and other classes.</p>
   <h3>How to try Client-Side Caching</h3>
   <ol>
   <li><a 
href="https://redis.io/docs/connect/clients/java/jedis/#install";>Install 
Jedis</a> <strong>5.2.0</strong></li>
   <li>Use the following code example to get started:</li>
   </ol>
   <pre lang="java"><code>public class CSCExampleTest {
     public static void main() {
   <pre><code>HostAndPort node = 
HostAndPort.from(&amp;quot;localhost:6379&amp;quot;);
   JedisClientConfig clientConfig = DefaultJedisClientConfig.builder()
       .resp3()                // RESP3 protocol is required for client-side 
caching
       //.user(&amp;quot;myuser&amp;quot;)       // Redis server username 
(optional)
       //.password(&amp;quot;mypass&amp;quot;)   // Redis user's password 
(optional)
       .build();
   
   CacheConfig cacheConfig = getCacheConfig();
   Cache cache = CacheFactory.getCache(cacheConfig);
   
   try (UnifiedJedis client = new UnifiedJedis(node, clientConfig, cache)) {
     client.set(&amp;quot;foo&amp;quot;, &amp;quot;bar&amp;quot;);
     client.get(&amp;quot;foo&amp;quot;);
     client.get(&amp;quot;foo&amp;quot;); // Cache hit
   
     System.out.println(&amp;quot;Cache size: &amp;quot; + cache.getSize()); // 
1
     System.out.println(cache.getStats().toString());
   
     //Let's change the value of &amp;quot;foo&amp;quot; to invalidate the 
value stored in the local cache
     client.mset(&amp;quot;foo&amp;quot;, &amp;quot;new_value&amp;quot;, 
&amp;quot;ignore_me:1&amp;quot;, &amp;quot;another_value&amp;quot;);
   
     Thread.sleep(1000); // wait for the cache invalidation to happen
   
     System.out.println(client.get(&amp;quot;foo&amp;quot;)); // Cache miss
     System.out.println(cache.getStats().toString());
   
     client.get(&amp;quot;ignore_me:1&amp;quot;); // Client will ignore this key
   
     System.out.println(&amp;quot;Cache size: &amp;quot; + cache.getSize()); // 
still 1
   
     // check the cache stats
     System.out.println(cache.getStats().toString());
   
   } catch (InterruptedException e) {
     throw new RuntimeException(e);
   }
   </code></pre>
   <p>&lt;/tr&gt;&lt;/table&gt;<br />
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/redis/jedis/commit/54426424a21070bba3b12454e48aa692efc3a9fa";><code>5442642</code></a>
 Support Server-assisted Client-side Caching (<a 
href="https://redirect.github.com/redis/jedis/issues/3757";>#3757</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/d22df4b0f350f243b2e7713caac50cb33a1a1030";><code>d22df4b</code></a>
 Improve QueryRangeExample and QueryGeoExample (<a 
href="https://redirect.github.com/redis/jedis/issues/3970";>#3970</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/251831ccd15ca7ac300f08b2a36c0a903ef00680";><code>251831c</code></a>
 Deprecate Triggers and Functions feature (<a 
href="https://redirect.github.com/redis/jedis/issues/3968";>#3968</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/cc8c8ce6108309405569f93370ea5839dade57ad";><code>cc8c8ce</code></a>
 DOC-4262 geo query examples (<a 
href="https://redirect.github.com/redis/jedis/issues/3966";>#3966</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/43dd2864777f2061469b4b9de3f9924343387d13";><code>43dd286</code></a>
 DOC-4244 added range query examples (<a 
href="https://redirect.github.com/redis/jedis/issues/3965";>#3965</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/98a37e98ee405fcbaa270df3ae49ffeae25f7003";><code>98a37e9</code></a>
 DOC-4296 added aggregation query examples (<a 
href="https://redirect.github.com/redis/jedis/issues/3967";>#3967</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/8094063b4dda96cd564b23dc91ba8e60811fc2c7";><code>8094063</code></a>
 DOC-4202 exact match search examples (<a 
href="https://redirect.github.com/redis/jedis/issues/3964";>#3964</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/5f9c90990df9e5960c1c6324636e0a8f6b7af493";><code>5f9c909</code></a>
 DOC-4252 full-text examples (<a 
href="https://redirect.github.com/redis/jedis/issues/3963";>#3963</a>)</li>
   <li><a 
href="https://github.com/redis/jedis/commit/51e4f3108ec9ac9d2a69bbef073590c44f5c8b3d";><code>51e4f31</code></a>
 Polish <a 
href="https://redirect.github.com/redis/jedis/issues/3304";>#3304</a></li>
   <li><a 
href="https://github.com/redis/jedis/commit/1683255c993d5e41d117f824c607c700ef615a90";><code>1683255</code></a>
 Bump org.apache.httpcomponents.client5:httpclient5-fluent from 5.3.1 to 5.4 
(...</li>
   <li>Additional commits viewable in <a 
href="https://github.com/redis/jedis/compare/v5.1.0...v5.2.0";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=redis.clients:jedis&package-manager=maven&previous-version=5.1.0&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@storm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to