Comments (4)
Many thanks John for the rapid turnaround, prolific as ever!
EOL notice for SDG is noted.
I've benefited from your many detailed stackoverflow explanations over the years and want to say thanks for that too :)
from spring-data-geode.
Thank you for reporting this issue.
NOTE: Spring Data for Apache Geode (SDG) is nearing its OSS EOL, as of November 2023 (see here for complete details). SDG, and by extension, Spring Boot for Apache Geode, will no longer receive updates without purchasing commercial support (through a VMware Spring Runtime license). As such, you are encouraged to replace Spring Data for Apache Geode with Spring Data for VMware GemFire where, and as soon as possible.
Having noted the above statement, I am going to make 2 changes to SDG.
-
First, I am going to add
componentProvider.setResourceLoader(new DefaultResourceLoader(getEntityClassLoader()));
-
Then, I am going to make the parallelization of the stream(..) used for classpath component scanning configurable (using a new, hidden Spring Data Geode property, "
spring.data.gemfire.classpath.scan.parallel
"), defaulting tofalse
.
With 2, users can set this property in Spring Boot's application.properties
since the value is resolved from the Spring Environment
.
Given the core Spring Framework, Spring Container's (prior) bean indexing capabilities, and now comprehensive AOT (eventual CrAC and Projet Leydon support) it is not strictly necessary to parallelize the classpath component scan. In fact, by default, it should not.
Still, if users need this capability, then it is a simple matter to configure this behavior using the new property from #2 above.
from spring-data-geode.
Fortunately, this fix will go out tomorrow, during our regularly scheduled Spring Data releases.
from spring-data-geode.
Thank you for the kind feedback. Wishing you all the best.
from spring-data-geode.
Related Issues (20)
- Release 2.7.9 (2021.2.9)
- Upgrade to Maven Wrapper 3.9.0
- Release 2.7.10 (2021.2.10)
- Release 2.7.11 (2021.2.11)
- Upgrade to Maven Wrapper 3.9.1
- Release 2.7.12 (2021.2.12)
- Add Integration Tests for @EnableDiskStore annotation and DiskStoreConfiguration class
- Release 2.7.13 (2021.2.13)
- Use snapshots and milestone repositories instead of libs-snapshot and libs-milestone
- Upgrade to Maven Wrapper 3.9.2
- Release 2.7.14 (2021.2.14)
- Fix (Jenkins) CI build issues involving Java 11 & Java 17 HOT 1
- Upgrade to Maven Wrapper 3.9.3
- Release 2.7.15 (2021.2.15)
- Upgrade to Maven Wrapper 3.9.4
- Release 2.7.16 (2021.2.16)
- Release 2.7.17 (2021.2.17)
- Upgrade to Maven Wrapper 3.9.5
- Release 2.7.18 (2021.2.18)
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 spring-data-geode.