JBeret - Batchlet Metrics not supported?

耗尽温柔 提交于 2021-01-29 10:44:54

问题


While I started using JBeret being the embedded JSR-352 engine in Wildfly, I notice that for some of my workload the chunk pattern does not apply. Simple enough I just wrapped it into batchlets and they are running ok.

Now I'd like to collect metrics the same style as chunks do but there seems no method to

  • increase existing metrics
  • introduce new metrics

What am I missing?


回答1:


Batchlet is used to model task that is a single unit of work. If your workload is iterative in nature and needs collecting metrics as it progresses, you'll need to use chunk-based step.



来源:https://stackoverflow.com/questions/64192532/jberet-batchlet-metrics-not-supported

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!