This folder contains a samples in form of stand-alone snippets that demonstrate useful scenarios.
Ensure the following setup is in place.
You must have java installed locally on your machinee. Run java --version to check if this is available.
A working instance of memorystore for valkey must be available. You can run the Valkey CLI for a local instance, or create an instance through the GCP Platform.
Each example contains instructions on any prerequiite configuration.
mvn compilemvn exec:java -Dexec.mainClass=MemorystoreTTLItem //Replace the main class as needed