xuxueli / xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)
http://www.xuxueli.com/xxl-job/
GNU General Public License v3.0
27.46k stars 10.86k forks source link

executor注册到admin时不支持域名访问 #1190

Closed lyfZhixing closed 4 years ago

lyfZhixing commented 4 years ago

executor注册到admin时不支持域名访问,集成进spring cloud admin在eureka注册的域名(服务名)为:xxl-job-admin 在executor进行如下配置 xxl: job: admin: address: http://xxl-job-admin/xxl-job-admin

Which version of XXL-JOB do you using?

version: 2.1.1-SNAPSHOT

Expected behavior

executor可以正确注册到xxl-job-admin

Actual behavior

无法解析xxl-job-admin

Steps to reproduce the behavior

Other information

spring cloud version: Greenwich.RELEASE

RoonyLi commented 4 years ago

注册过程是用http自己调用的,没有走feign,所以没法解析eureka的服务名。

xuxueli commented 4 years ago

你好,调度中心建议分配真实域名。