Using ElasticJob may meet some distributed problem which is not easy to observe.
Because of developer cannot debug in production environment, ElasticJob provide dump
command to export job runtime information for debugging.
For security reason, the information dumped had already mask sensitive information, it instead of real IP address to ip1
, ip2
…
To open listener port using Java, refer to Java API job information export configuration. To open listener port using Spring Boot Starter, refer to Spring Boot Starter job information export configuration. To open listener port using Spring Namespace, refer to Spring namespace job information export configuration.
Dump to stdout
echo "dump@jobName" | nc <job server IP address> 9888
Dump to file
echo "dump@jobName" | nc <job server IP address> 9888 > job_debug.txt