2016-08-30 137 views
1

从文档中,对于流量管理器,除发布商将使用HTTPS与流量管理器通信外,其他人使用thrift和jms。所以对于节俭& JMS相关网址:WSO2 APIM 2.0使用流量管理器集群部署集群

connectionfactory.TopicConnectionFactory = amqp://admin:[email protected]/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> 

我们可以配置任何流量管理器集群流量管理器主机网关/发行人/店/密钥管理器?

+0

你的问题不是很清楚。请进一步解释。 – Bee

+0

我的意思是如果我有2个流量管理器节点,如何在网关/发布者/存储/密钥管理器中填充这些流量管理器的非http(s)URL。 –

+0

或者在我的POC环境中(只有一台服务器),没有硬件级别的LB,没有DNS级别的LB,非HTTP传输的任何LB选择? –

回答

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

+0

Thx!我会尝试。 –