You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @jamesylgan,
Spring Batch Tasklet is always executed in the context of a chunk (its execute() method even receives a ChunkContext as one of its parameters). If you configure a TaskletStep that only calls the passed Tasklet it'll still setup a chunk for the tasklet call, and it'll still execute all ChunkListeners that are set on the step (we use listeners to capture spring batch spans). In fact, when you set up a step processing items (ItemReader, ItemWriter, etc) Spring batch will use a ChunkOrientedTasklet which itself is a Tasklet to process those items in chunks.
Describe the bug
Naming:
When running a Tasklet, spans are named as Chunks
Steps to reproduce
Not possible to share - but this does appear while using a standard
org.springframework.batch.core.step.tasklet.Tasklet
What did you expect to see?
BatchJob jobName.stepName.Tasklet
What did you see instead?
BatchJob jobName.stepName.Chunk
What version are you using?
v0.9.0
The text was updated successfully, but these errors were encountered: