Tyk v2.2 Documentation Components

  1. Home
  2. Tyk v2.2 Documentation Components
  3. SD: Eureka Example

SD: Eureka Example

For integrating service discovery with Eureka, you can use the following configuration parameters (this assumes that the endpoint will return JSON and not XML, this is achieved by creating an API Definition that injects the header that requests the data type and using this API Definition as the endpoint):

isNested = false
isTargetList = true
endpointReturnsList = false
portSeperate = true
dataPath = "hostName"
parentPath = "application.instance"
portPath = "port.$"