Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In-memory repository with Spring Boot [BATCH-2704] #905

Closed
spring-projects-issues opened this issue Mar 14, 2018 · 1 comment
Closed

In-memory repository with Spring Boot [BATCH-2704] #905

spring-projects-issues opened this issue Mar 14, 2018 · 1 comment
Labels
status: declined Features that we don't intend to implement or Bug reports that are invalid or missing enough details type: bug

Comments

@spring-projects-issues
Copy link
Collaborator

Nicolas Roussel opened BATCH-2704 and commented

There are several problems that prevent users from using an in-memory repository with Spring Boot :

To make this work I need to:

  1. Exclude HikariCP
  2. Add a component extending DefaultBatchConfigurer

Reference URL: https://docs.spring.io/spring-batch/4.0.x/reference/html/index-single.html#inMemoryRepository

@spring-projects-issues
Copy link
Collaborator Author

Michael Minella commented

This really is a Spring Boot issue, not a Spring Batch issue. When using Spring Batch without Spring Boot, things work as documented. Spring Boot is a framework intended for building production grade applications and the Map based JobRepository implementation is definitely not production grade so I personally agree with their decision to add that additional requirement. If you'd like to take it up with the Spring Boot team, you can log an issue with them here: https://github.com/spring-projects/spring-boot/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined Features that we don't intend to implement or Bug reports that are invalid or missing enough details type: bug
Projects
None yet
Development

No branches or pull requests

1 participant