Alexey Kukushkin commented on IGNITE-6026:

Hi Alex,

The main idea from the API perspective is that Ignite Persistence is 
transparent for the API. After you enable persistence all your APIs including 
get/put, SQL, etc would work as before. 

Enable Persistence with 1 line:
<property name="persistentStoreConfiguration">
    <bean class="org.apache.ignite.configuration.PersistentStoreConfiguration"/>

And then activate cluster explicitly - 
With script:
${IGNITE_HOME}/bin/control.sh --activate

OR in the code:

Best regards, 

> init cluster for Ignite Persistence by xml 
> -------------------------------------------
>                 Key: IGNITE-6026
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6026
>             Project: Ignite
>          Issue Type: Wish
>          Components: cache, examples, persistence
>    Affects Versions: 2.1
>         Environment: ignite in docker with zk
>            Reporter: Alex Negashev
>              Labels: documentation
> Hello! We use Ignite 2.1 and would like to use Ignite Persistence, how i can 
> do this without java code? xml only.
> Example attached.

This message was sent by Atlassian JIRA

Reply via email to