[ 
https://issues.apache.org/jira/browse/STORM-3006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Joseph Evans resolved STORM-3006.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.2
                   2.0.0

Thanks [~rauluka],

 

I merged this into master and branch-1.x

> Distributed RPC documentation needs an update
> ---------------------------------------------
>
>                 Key: STORM-3006
>                 URL: https://issues.apache.org/jira/browse/STORM-3006
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 1.2.1
>            Reporter: Lukasz Gebel
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0, 1.2.2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently in: http://storm.apache.org/releases/1.2.1/Distributed-RPC.html
> examples of DRPCClient initialization are outdated as you need to provide 
> config parameter:
> Config conf = new Config();
>         conf.setDebug(false);
>         conf.put("storm.thrift.transport", 
> "org.apache.storm.security.auth.plain.PlainSaslTransportPlugin");
>         conf.put(Config.STORM_NIMBUS_RETRY_TIMES, 3);
>         conf.put(Config.STORM_NIMBUS_RETRY_INTERVAL, 10);
>         conf.put(Config.STORM_NIMBUS_RETRY_INTERVAL_CEILING, 20);
>         this.drpcClient = new DRPCClient(conf, "10.0.9.10", 3772);
> What it more it would be useful to state that 
> org.apache.storm.security.auth.plain.PlainSaslTransportPlugin can be used in 
> DRPC as SimpleTransportPlugin is deprecated.
> So also storm.yaml example can be extended:
> drpc.servers:
>   - "drpc1.foo.com"
>   - "drpc2.foo.com"
> *storm.thrift.transport: 
> "org.apache.storm.security.auth.plain.PlainSaslTransportPlugin"*
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to