Comments (7)
This has been addressed in all driver versions (4.1, 4.2 and 4.3). Thank you.
See: https://github.com/neo4j/neo4j-java-driver-spring-boot-starter/releases/tag/4.2.7.0
from neo4j-java-driver-spring-boot-starter.
To further clarify, I am on Spring Boot 2.4 and tried with both implementation("org.neo4j.driver:neo4j-java-driver:4.2.0")
and implementation("org.neo4j.driver:neo4j-java-driver-spring-boot-starter:4.2.4.0")
as dependencies and the result is the same - not sure if it's the right place for the issue, if not please let me know where it should be reported.
from neo4j-java-driver-spring-boot-starter.
Hi @lilianaziolek-wayfair There's little I can do about that :( It's because the Java driver - not this shim here - is creating a background non-daemon thread. If you close it manually, the app will close.
Of course the driver is registered as a auto closable resource with the application and it will be safely stopped when the application is stopped, but that behavior is expected to happen. Please feel free to raise that over there: https://github.com/neo4j/neo4j-java-driver/issues
from neo4j-java-driver-spring-boot-starter.
@michael-simons Do you have any more details on where this thread is created / how to get hold of it to stop it?
from neo4j-java-driver-spring-boot-starter.
It's an internal Netty thread I think… maybe @injectives or @gjmwoods can shed a light.
from neo4j-java-driver-spring-boot-starter.
Coming back to this @lilianaziolek-wayfair:
I am working on a patch for the driver that demonizes our event loop threads correctly and wether it affects our tests or not. We think that this is pretty much a no-brainer, especially as it will be the default in Netty5 at some day: netty/netty#2832
Thanks for bringing this up!
It's not like that I haven't been annoyed by this behavior beforehand.
from neo4j-java-driver-spring-boot-starter.
Wonderful to hear! Thanks and let me know if you need a guinea pig to test anything :)
from neo4j-java-driver-spring-boot-starter.
Related Issues (17)
- Configure logging to go through spring-jcl HOT 1
- Neo4j 4.0 multiple database support? HOT 5
- Update license header.
- Remove default value for required uri property.
- Advanced bolt: and neo4j: schemes cannot be used with the starter.
- Driver works with embedded (if BOLT is configured)
- Error when connecting to Neo4J using the Java driver HOT 2
- Neo4jHealthIndicator: Use read transaction instead of the session to execute the cypher query HOT 1
- Neo4jDriverProperties class is missing HOT 1
- Run tests against the experimental Neo4j 4.0 docker image.
- Cannot coerce STRING to LocalDate HOT 2
- Support for neo4j 5.x HOT 1
- Update and Delete operation in spring boot Neo4j doesn't work like JPA
- saveAll batch size dynamic configuration
- Upgrade test harness Examples to Neo4j 4.0 test harness.
- Provide VS code devcontainer for reactive web example.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-java-driver-spring-boot-starter.