Hello!

ClientConnectorConfiguration is needed to allow other clients to connect to
local node, and not for connecting to remote nodes.

ClientConfiguration/startClient() should be used instead.

Regards,
-- 
Ilya Kasnacheev


пт, 20 мар. 2020 г. в 07:23, AravindJP <aravin...@gmail.com>:

> Hi Stephen,
>  i was using IgniteConfiguration to connect , please find below the full code
>
>       
>               
>               Ignition.setClientMode(true);
>               ClientConnectorConfiguration cfg=new 
> ClientConnectorConfiguration()
>                               .setHost("xx.xx.xx.xx")
>                               .setPort(47500);
>                               
>               IgniteConfiguration ignitecfg = new IgniteConfiguration();
>               ignitecfg.setClientConnectorConfiguration(cfg);
>               
>               Ignite ignite =Ignition.start(ignitecfg);
>
>               final String CACHE_NAME = "put-get-example";
>
>               
>         IgniteDataStreamer<String,Address> 
> dataSteamer=ignite.dataStreamer("put-get-example");
>         Address val = new Address("1545 Sample 1", 94612);
>         Integer key = 1;
>         for (int i = 0; i < 100; i++) {
>                val = new Address("1545 Jackson Street "+i, 94612);
>               dataSteamer.addData("i"+i, val);
>         }
>
>
>
>
> ------------------------------
> Sent from the Apache Ignite Users mailing list archive
> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com.
>

Reply via email to