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>

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

4

1 回答 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>

您可以在此博客中找到几种流量管理器部署模式。

于 2016-08-31T03:26:17.237 回答