首页 文章

WSO2 APIM 2.0使用流量管理器群集进行群集部署

提问于
浏览
1

从文档中,对于流量管理器,除了发布者将使用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>

我们可以在网关/发布商/商店/密钥管理器中的流量管理器群集中配置任何流量管理器主机吗?

1 回答

  • 1

    你可以这样做 .

    <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 .

相关问题