[
https://issues.apache.org/jira/browse/IGNITE-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15675740#comment-15675740
]
Roman Shtykh commented on IGNITE-4233:
--------------------------------------
Java page
To connect to Ignite using a Java client for Redis, you need to have an Ignite
cluster/node configured, if necessary, as shown in Redis Support page and
running.
To connect to Ignite running on port 6379 with, for instance, Jedis,
{code}
JedisPoolConfig jedisPoolCfg = new JedisPoolConfig();
// your pool configurations.
JedisPool pool = new JedisPool(jedisPoolCfg, "localhost", 6379, 10000);
try (Jedis jedis = pool.getResource()) {
jedis.set("key1", "1");
System.out.println("Value for 'key1': " + jedis.get("key1"));
}
pool.destroy();
{code}
> Add documentation for REDIS support
> -----------------------------------
>
> Key: IGNITE-4233
> URL: https://issues.apache.org/jira/browse/IGNITE-4233
> Project: Ignite
> Issue Type: Sub-task
> Affects Versions: 1.8
> Reporter: Andrey Novikov
> Assignee: Roman Shtykh
> Fix For: 1.8
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)