![]() ![]() I know this can be prevented with a custom Executor where I can. But on running the sample code below, all I can see is that only 8 threads are fired up, and the remaining tasks are waiting to get a new thread to execute them. Inside the controller, I start a thread which launc. ![]() This is initially triggered by a POST request to begin the job. If you are using spring boot, here is the setup which can help you:Ĭonfiguration class: public class DatasourceConfig = "datasource. According to the documentation of SimpleAsyncTaskExecutor, By default, the number of concurrent threads is unlimited. My SpringBoot application starts a somewhat long process in via Spring Batch job. Tags : spring,spring-boot,spring-data,liquibase We need to configure Prometheus to scrape our spring boot. I need to set up liquibase for two datasources in Spring, at the moment it seems that only one liquibase set up is possible and you can choose for which data source. We do not need any AWS specific dependancy, Only JPA,spring-web & postgresql dependancy. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |