spring-cloud/spring-cloud-gateway

Add option to ignore `IllegalArgumentException` if discovery locator enabled

Aberta

#2.952 aberto em 11 de mai. de 2023

 (3 comentários) (0 reação) (0 responsável)Java (3.204 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (4.284 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 21h) (18 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe. If an illegal appname is registered on Eureka, such as "lb:// ", it will cause the service to fail to start and throw "Illegal character in authority at index 5: lb://"

Describe the solution you'd like filter out illegal appnames during startup

Describe alternatives you've considered When registering a service for the eureka client, if it is an illegal uri, block the registration of the service and throw an exception

Additional context Add any other context or screenshots about the feature request here.

Guia do colaborador