sto usando batch primavera per eseguire i miei lavori quando il lettore è org.springframework.batch.item.database.JpaPagingItemReaderPrimavera Batch Reader Multi infila Job
e il mio lavoro configurato con il parametro: throttle-limit = "6"
C'è qualche conflitto di dati sui thread durante la lettura dei dati dal lettore?
perché sto facendo rivivere il seguente avviso:
[org.springframework.batch.core.step.item.ChunkMonitor:109] - No ItemReader set (must be concurrent step), so ignoring offset data.
[org.springframework.batch.core.step.item.ChunkMonitor:141] - ItemStream was opened in a different thread. Restart data could be compromised.
[org.springframework.batch.core.step.item.ChunkMonitor:141] - ItemStream was opened in a different thread. Restart data could be compromised.
[org.springframework.batch.core.step.item.ChunkMonitor:141] - ItemStream was opened in a different thread. Restart data could be compromised.
Impostazione saveState come falso in realtà non aiuta :( –
Perché non lo fa? –
Stiamo usando MongoItemWriter e secondo doc è anche thread-safe, ma l'impostazione saveState = false non ha evitato i log di avviso che sono elencati nella domanda originale: –