Redis Plus by Fizzed
Fizzed, Inc. (Follow on Twitter: @fizzed_inc)
Overview
Utilities and framework integrations for Java and Redis. Includes an integration of Redis with the Ninja Framework.
Ninja Framework
Ninja Framework module for Redis based on Jedis. Will help provide connectivity to Redis, a connection pool, and a Ninja cache implementation.
Setup
Add the jedis-ninja-module dependency to your Maven pom.xml
<dependency>
<groupId>com.fizzed</groupId>
<artifactId>jedis-ninja-module</artifactId>
<version>1.0.0</version>
</dependency>
In your conf/Module.java
file:
package conf;
import com.fizzed.jedis.ninja.NinjaJedisModule;
import com.google.inject.AbstractModule;
public class Module extends AbstractModule {
@Override
protected void configure() {
install(new NinjaJedisModule());
}
}
In your conf/application.conf
file:
#
# redis
#
redis.url = redis://localhost:5432
redis.password = test
redis.validate_at_start = true
License
Copyright (C) 2020 Fizzed, Inc.
This work is licensed under the Apache License, Version 2.0. See LICENSE for details.