Coder Social home page Coder Social logo

romeh / spring-boot-ignite Goto Github PK

View Code? Open in Web Editor NEW
48.0 7.0 40.0 528 KB

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

Java 98.02% HTML 1.98%
ignite spring-boot sql-queries durable-memory jenkins-pipeline unit-testing spring-retry swagger2 in-memory-computations in-memory-database

spring-boot-ignite's People

Contributors

romeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-ignite's Issues

Problem when i try to run it

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?

durable persistence not working

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()
;


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.