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
Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
ElasticJob-Lite
Expected behavior
Job registration succeeded
Actual behavior
Job conflict with register center. The job 'test' in register center's class is 'com.test.elasticjob.CustomJob$$Lambda$1124/0x0000000800a5d440', your job class is 'com.test.elasticjob.CustomJob$$Lambda$1111/0x0000000800a60440'
When I create a SimpleJob using an anonymous inner class or lambda expression, if AopUtils.isAopProxy(elasticJob) == true, and return elasticJob.getClass().getName(), it will cause a job conflict with ZK. For the solution,when AopUtils.isAopProxy(elasticJob) == true, please refer to org.apache.shardingsphere.elasticjob.lite.internal.setup.DefaultJobClassNameProvider#getJobClassName
Bug Report
Which version of ElasticJob did you use?
3.0.1
Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
ElasticJob-Lite
Expected behavior
Job registration succeeded
Actual behavior
Reason analyze (If you can)
Code causing the problem:
Wrong location in source code:
When I create a SimpleJob using an anonymous inner class or lambda expression, if AopUtils.isAopProxy(elasticJob) == true, and return elasticJob.getClass().getName(), it will cause a job conflict with ZK. For the solution,when AopUtils.isAopProxy(elasticJob) == true, please refer to org.apache.shardingsphere.elasticjob.lite.internal.setup.DefaultJobClassNameProvider#getJobClassName
The text was updated successfully, but these errors were encountered: