<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Redis on Yonatan Karp-Rudin</title><link>https://yonatankarp.github.io/tags/redis/</link><description>Recent content in Redis on Yonatan Karp-Rudin</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 05 Jun 2024 00:00:00 +0100</lastBuildDate><atom:link href="https://yonatankarp.github.io/tags/redis/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Fix Misconfigurations in RedisTemplate</title><link>https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/</link><pubDate>Wed, 05 Jun 2024 00:00:00 +0100</pubDate><guid>https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/</guid><description>&lt;p&gt;Table of Contents&lt;/p&gt;
&lt;p&gt;&lt;a href=""&gt;Toggle
&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Initial_Configuration"&gt;Initial Configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Creating_the_RedisTemplate_Bean"&gt;Creating the RedisTemplate Bean&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Writing_Tests"&gt;Writing Tests&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Identifying_The_Issue"&gt;Identifying The Issue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Fixing_the_Issue"&gt;Fixing the Issue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Where_to_Find_the_Code"&gt;Where to Find the Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://yonatankarp.github.io/blog/fix-misconfigurations-redistemplate/#Credits"&gt;Credits&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Our story begins with a colleague and me trying to debug an issue with our project for a few hours. We needed to fetch a value from Redis storage, but whenever the service ran, the fetched value was &lt;code&gt;null&lt;/code&gt;. Despite our efforts, we couldn&amp;rsquo;t find a solution on the internet, and to make matters worse, our code was actually covered by tests that had all passed!&lt;/p&gt;</description></item></channel></rss>