Re: Issue in starting IgniteSinkConnector with Distributed Worker mode

2017-03-15 Thread Roman Shtykh
The connector is not created and no connection to your Ignite cluster is done 
in a distributed mode, if you pass connector configuration on the command 
line.In a distributed mode, you have to use REST API, like below.
$ curl -X POST -H "Content-Type: application/json" --data '{"name": 
"string-ignite-connector", "config": 
{"connector.class":"org.apache.ignite.stream.kafka.connect.IgniteSinkConnector",
 
"tasks.max":"2","topics":"test","cacheName":"cache1","igniteCfg":"path_to_/ignite.xml"}}'
 http://localhost:8083/connectors

Hope this helps.
Roman

On Tuesday, March 14, 2017 4:45 PM, dkarachentsev 
 wrote:
 

 Hi,

Could you please attach logs and thread dumps (in case of hang) if problem
is still relevant?

-Dmitry.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Issue-in-starting-IgniteSinkConnector-with-Distributed-Worker-mode-tp10647p11161.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


   

Re: Issue in starting IgniteSinkConnector with Distributed Worker mode

2017-03-14 Thread dkarachentsev
Hi,

Could you please attach logs and thread dumps (in case of hang) if problem
is still relevant?

-Dmitry.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Issue-in-starting-IgniteSinkConnector-with-Distributed-Worker-mode-tp10647p11161.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Issue in starting IgniteSinkConnector with Distributed Worker mode

2017-02-16 Thread dkarachentsev
Hi,

I'm not quite familiar with Kafka connector, but I'm going to figure it out
and come back to help you.

Thanks!

-Dmitry.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Issue-in-starting-IgniteSinkConnector-with-Distributed-Worker-mode-tp10647p10664.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.