Created
April 17, 2020 12:17
-
-
Save addmeaning/7b9db7b36cc55ef44310c731e3dc4f8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation=" | |
http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans.xsd"> | |
<!-- | |
Alter configuration below as needed. | |
--> | |
<bean id="atomic-cache" class="org.apache.ignite.configuration.CacheConfiguration" abstract="true"> | |
<property name="cacheMode" value="PARTITIONED"/> | |
<property name="atomicityMode" value="ATOMIC"/> | |
<property name="writeSynchronizationMode" value="FULL_SYNC"/> | |
</bean> | |
<!-- Basic configuration for transactional cache. --> | |
<bean id="transactional-cache" class="org.apache.ignite.configuration.CacheConfiguration" abstract="true"> | |
<property name="cacheMode" value="PARTITIONED"/> | |
<property name="atomicityMode" value="TRANSACTIONAL"/> | |
<property name="writeSynchronizationMode" value="FULL_SYNC"/> | |
</bean> | |
<bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> | |
<!-- Set to true to enable distributed class loading for examples, default is false. --> | |
<property name="dataStorageConfiguration"> | |
<bean class="org.apache.ignite.configuration.DataStorageConfiguration"> | |
<property name="defaultDataRegionConfiguration"> | |
<bean class="org.apache.ignite.configuration.DataRegionConfiguration"> | |
<property name="persistenceEnabled" value="true"/> | |
</bean> | |
</property> | |
</bean> | |
</property> | |
<property name="peerClassLoadingEnabled" value="true"/> | |
<property name="igniteInstanceName" value="dataNode"/> | |
<!-- Enable client mode. --> | |
<property name="clientMode" value="false"/> | |
<!-- Explicitly configure TCP discovery SPI to provide list of initial nodes. --> | |
<property name="discoverySpi"> | |
<bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> | |
<property name="ipFinder"> | |
<bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.sharedfs.TcpDiscoverySharedFsIpFinder"> | |
<property name="path" value="/home/nobleprog/tools/ignite/config/node_list"/> | |
</bean> | |
</property> | |
</bean> | |
</property> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment