WSO2 APIM 2.0 集群部署与流量管理器集群

WSO2 APIM 2.0 Clustering deployment with traffic manager cluster

从文档来看,对于流量管理器,除了publisher会使用HTTPS与流量管理器通信外,其他都使用thrift和jms。所以对于 thrift 和 jms 相关 URL:

connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientid/carbon?brokerlist='tcp://<Traffic-Manager-host>:5676'
topic.throttleData = throttleDat

<ThrottlingConfigurations>
        <EnableAdvanceThrottling>true</EnableAdvanceThrottling>
        <DataPublisher>
            <Enabled>false</Enabled>
            <Type>Binary</Type>
            <ReceiverUrlGroup>tcp://<Traffic-Manager-host>:9611</ReceiverUrlGroup>
            <AuthUrlGroup>ssl://<Traffic-Manager-host>:9711</AuthUrlGroup>
        ……………………
        </DataPublisher>
        <PolicyDeployer><ServiceURL>https://<Traffic-Manager-host>:9443/services/</ServiceURL>
        ……………………
        </PolicyDeployer>
        ………………
        <JMSConnectionDetails>
            <Enabled>false</Enabled>
            <ServiceURL>tcp://<Traffic-Manager-host>:5672</ServiceURL>
        <JMSConnectionDetails>
        …………………
</ThrottlingConfigurations>

我们可以在 gateway/publisher/store/key 管理器中配置流量管理器集群中的任何流量管理器主机吗?

你可以这样做。

<ReceiverUrlGroup>{tcp://127.0.0.1:9612},{tcp://127.0.0.1:9613} </ReceiverUrlGroup>
<AuthUrlGroup>{ssl://127.0.0.1:9712},{ssl://127.0.0.1:9713}</AuthUrlGroup>

您可以找到几种流量管理器部署模式in this blog