GD_Java
GD_Java

Reputation: 1429

Spring Riak Integration

I want to integrate Riak with my Spring application. I looked at Spring docs and found they have a module called spring-data-keyvalue. This module supports key value databases. When I looked at source code of this module I am not able to find Riak related classes like RiakTemplate etc. Can someone guide me to figure out dependency for Riak.

Upvotes: 1

Views: 600

Answers (1)

Zoltan Altfatter
Zoltan Altfatter

Reputation: 960

Yes, Riak is currently not supported as much as Redis in Spring Data unfortunately.

I found two repositories which you might find useful:

An example Spring Boot app using the Riak Java client written by Jon Brisbin (former Pivotal employee) https://github.com/jbrisbin/tfl-ingest

Another one is an old repository when Costin Leau was still working at Pivotal: https://github.com/ericturcotte/spring-data-keyvalue/

If you need only a key value store, use Redis. It has excellent Spring Data support, even who wrote the lettuce (Redis java driver) works for Pivotal.

Hope it helps.

Upvotes: 3

Related Questions