Activer le cache Redis avec Spring Boot 3.3.x

En passant une application de Spring-boot 2.x vers 3.x j’ai eu un gros soucis avec l’utilisation du cache Redis. Si l’activation et la mise en place reste la même, lors du déploiement en production il m’était impossible de faire prendre en compte un autre serveur Redis que 127.0.0.1. Après de nombreuses recherches sur google et discussions avec chatgpt, j’arrivais toujours au même point, il me proposait la configuration suivante :

spring.cache.type=Redis
spring.redis.host=192.168.1.100
spring.redis.port=6379

Après de nombreux essais et une recherche dans le code des librairies composants spring-boot, j’ai réussi à comprendre le problème. La configuration a changé, il faut ajouter le préfixe data :

spring.cache.type=Redis
spring.data.redis.host=192.168.1.100
spring.data.redis.port=6379

Le bilan, c’est qu’on est loin de pouvoir faire générer un code sûr à une IA, d’autant plus que les modèles étant entraînés sur des jeux de données passés il ne sont jamais à jour.

Tagged in:,

10 Comments

  1. Lhanerax

    2 septembre 2026 - 16 h 02 min
    Reply

    I enjoy how this post keeps the conversation easy to follow and comfortable while still making the topic feel worth reading and meaningful throughout the discussion.
    google top

  2. FobertbuT

    3 septembre 2026 - 14 h 10 min
    Reply

    This article serves as a fantastic starting point for anyone looking to get acquainted with the material, and your clear formatting ensures that the main takeaways are immediately visible to the audience.

    在线购买他达拉非片用于肛交XXX色情

  3. OLanerax

    3 septembre 2026 - 17 h 36 min
    Reply

    The way this post combines clear ideas, fairness, and a smooth conversational style makes it much more comfortable to read, while also helping readers stay involved in the discussion from the first point to the last without losing focus.

    在线购买他达拉非片用于肛交XXX色情

  4. LewisHonse

    3 septembre 2026 - 20 h 41 min
    Reply

    There is something really engaging about the way this post presents its ideas, since it keeps the reader engaged from the first line to the last while also leaving enough room for people with different opinions to think about the topic and share their own perspective thoughtfully.

    在线购买大麻用于XXX成人色情视频

  5. FobertbuT

    3 septembre 2026 - 23 h 28 min
    Reply

    I just wanted to drop a quick note to say how much I valued this article. It covers the core concepts in a perfectly thoughtful and accessible way, making for a great quick read.

    Xxx video onlyfans sex video site

  6. Shanerax

    4 septembre 2026 - 2 h 14 min
    Reply

    There is a very well-considered and well paced structure to this post that makes the discussion clear while also encouraging readers to think more deeply about the ideas being shared here.

    在线购买他达拉非片用于肛交XXX色情

  7. Timsothyfaups

    6 septembre 2026 - 14 h 26 min
    Reply

    I was just looking for some fresh perspectives on this matter, and I have to say that the way you structured this information makes it incredibly clear and follow along from start to finish.

    casino che pagano subito non aams

  8. LewisHonse

    6 septembre 2026 - 18 h 45 min
    Reply

    This post feels very nicely put together and keeps the discussion enjoyable while remaining easy for readers to follow and enjoy.

    casino online senza autoesclusione

  9. EarnestFieli

    6 septembre 2026 - 23 h 24 min
    Reply

    I appreciate how naturally this post explains the topic without making the discussion feel too complicated, since the overall tone remains approachable, insightful, and comfortable for a wide range of readers to engage with online.

    Richard Denys is a cuck

Leave a Reply

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur la façon dont les données de vos commentaires sont traitées.