The client mode allows to push/retrieve the data to the cluster(one or several server nodes). A client node doesn't store data, but the client is able to use the whole set of Ignite APIs.
2018-02-08 8:01 GMT+03:00 Rajesh Kishore <[email protected]>: > Thanks Pavel, I am aware about this code. > I am able to establish a cluster as well. I have following requirement: > From my application - I want to retrieve/insert records on different > cluster server. My application code is single instance , my application > code should be unaware from which ignite cluster server its > retrieving/inserting the data. > Would just setting Ignition.setClientMode(true) is enough for this > usecase, would my application to push the data to one of the portioned > cluster server ? > > Thanks, > Rajesh > > On Wed, Feb 7, 2018 at 8:43 PM, Vinokurov Pavel <[email protected] > > wrote: > >> Hi Rajesh, >> >> There is a good sample with enabled persistance - >> https://github.com/apache/ignite/blob/master/examples/src/ >> main/java/org/apache/ignite/examples/persistentstore/Persi >> stentStoreExample.java >> Also documentation about Ignite persistance presented in >> https://apacheignite.readme.io/docs/distributed-persistent-store. >> >> >> 2018-02-07 13:14 GMT+03:00 Rajesh Kishore <[email protected]>: >> >>> Hi, >>> >>> I want to try a two node setup for Ignite cluster with native file based >>> persistence enabled . >>> >>> Any samples, or pointer ? >>> >>> >>> -Rajesh >>> >> >> >> >> -- >> >> Regards >> >> Pavel Vinokurov >> > > -- Regards Pavel Vinokurov
