question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spring Data Redis

See original GitHub issue

Describe the extension Spring Data Redis provides easy configuration and access to Redis from Spring applications. It offers both low-level and high-level abstractions for interacting with the store, freeing the user from infrastructural concerns.

We are currently considering the migration of our set of applications from Spring Boot to Quarkus and I am estimating the effort that it would take to accomplish this migration. We are already using this library and we would like to have it as is adapted to Quarkus. If not, the effort of adapting this library in our code would be too large.

Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).

Configuration suggestion We are using the following annotation in our code:

import org.springframework.data.redis.core.RedisHash;
import org.springframework.data.annotation.Id;

@RedisHash("People")
public class Person implements Serializable {

  @Id String id;
  String firstname;
  String lastname;
  Address address;
}

From the documentation:

We have a pretty simple domain object here. Note that it has a @RedisHash annotation on its type and a property named id that is annotated with org.springframework.data.annotation.Id. Those two items are responsible for creating the actual key used to persist the hash.

Additional context

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:16 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
cescoffiercommented, Nov 2, 2022

Repository yes, but active record no.

2reactions
geoandcommented, Jul 8, 2022

Quarkus 2.11 will contain a new Redis API, so maybe we can leverage it for this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Data Redis
Spring Data Redis, part of the larger Spring Data family, provides easy configuration and access to Redis from Spring applications. It offers both...
Read more >
Introduction to Spring Data Redis - Baeldung
This tutorial is an introduction to Spring Data Redis, which provides the abstractions of the Spring Data platform to Redis — the popular ......
Read more >
spring-data-redis - GitHub
Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes ......
Read more >
Introducing Spring Data Redis | The Home of Redis Developers
Spring Data Redis provides access to Redis from Spring applications. It offers both low-level and high-level abstractions for interacting with ...
Read more >
org.springframework.data » spring-data-redis - Maven Repository
Apache 2.0 · Redis Clients · databasedataspringclientredis · #558 in MvnRepository (See Top Artifacts) #2 in Redis Clients · 753 artifacts ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found