romeh / spring-boot-ignite Goto Github PK
View Code? Open in Web Editor NEWShow case for how to integrate apache ignite with spring boot plus using the durable memory feature and sql queries over ignite in memory caches
License: Apache License 2.0
Show case for how to integrate apache ignite with spring boot plus using the durable memory feature and sql queries over ignite in memory caches
License: Apache License 2.0
Good morning, i am trying to run the sample after compiling it using clean and install maven phases, then i try to run the jar file this way:
~/d/spring-boot-ignite> java -jar target/ignite-sample-manager\#\#0.0.1-SNAPSHOT-LOCAL.jar --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAME
I got this message
This is my config:
~/d/spring-boot-ignite> java --version java 10.0.1 2018-04-17 Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode) aironman@MacBook-Pro-Retina-de-Alonso ~/d/spring-boot-ignite> mvn --version Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00) Maven home: /usr/local/Cellar/maven/3.6.0/libexec Java version: 10.0.1, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home Default locale: es_ES, platform encoding: UTF-8 OS name: "mac os x", version: "10.14.2", arch: "x86_64", family: "mac"
Cant i use jdk10?
Tried restarting and checking the same value several times in cache by putting a break point in
com.romeh.ignitemanager.repositories.impl.IgniteAlertsStore#createAlertEntry
...
alertsCache.put(alertEntry.getAlertId(), alertEntry)
But, I don't see that the value is found in cache, with persistence to disk enabled, shouldn't it be able to find the cache populated on restart?
I even tried:
alertsCache.query(
new SqlFieldsQuery("select serviceId from AlertEntry")).getAll()
;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.