gemfire

How to persist data into Gemfire region permanently?


Taking a reference: java.lang.NoClassDefFoundError: org/springframework/data/gemfire/util/SpringExtensions - Spring Gemfire.

I am looking to persist the data into gemfire. Currently when my application exit, data gets wiped out.

Which changes do I need to implement?


Solution

  • In order to preserve your data you should define a Disk Store as described here - https://docs.vmware.com/en/Spring-Data-for-VMware-GemFire/1.0/sdgf/reference-bootstrap-annotations.html#configuring-disk-stores-23