wso2 / pivotal-cf-apim

Apache License 2.0
35 stars 13 forks source link

Use route registrar instead of instance linking for API Manager Analytics in Pattern 2 #57

Closed Savidude closed 5 years ago

Savidude commented 5 years ago

Description: The stream processor server and API URLs in pattern 2 are provided in the configurations through instance linking. This is an incorrect approach, as pattern 2 contains 2 Analytics nodes, and linking would connect to only the first node.

<StreamProcessorServerURL>{tcp://<%= link("apim-analytics").instances[0].address %>:7612}</StreamProcessorServerURL> <StreamProcessorRestApiURL>https://<%= link("apim-analytics").instances[0].address %>:7444</StreamProcessorRestApiURL>

Suggested Labels: Priority/High

Suggested Assignees: @Savidude