RE: Kafka connect mysql

2018-02-17 Thread adrien ruffie
Thanl Ted, but I have found the solution 😊 It works well by adding -d '' and -H json type for arguments curl -H "Content-Type: application/json" -d '[{"class":"org.apache.kafka.connect.file.FileStreamSourceConnector"},{"class":"io.confluent.connect.elasticsearch.ElasticsearchSinkConnector"},{

Re: Zookeeper Error

2018-02-17 Thread Maria Pilar
Yes, i have included the server.id into zookeeper.properties and it´s working fine. Thanks On 18 February 2018 at 03:15, Ted Yu wrote: > What are the entries in /etc/hosts w.r.t. localhost ? > > I wonder if the exception had something to do with ipv6. > > On Sat, Feb 17, 2018 at 5:49 PM, Maria

Re: Zookeeper Error

2018-02-17 Thread Ted Yu
What are the entries in /etc/hosts w.r.t. localhost ? I wonder if the exception had something to do with ipv6. On Sat, Feb 17, 2018 at 5:49 PM, Maria Pilar wrote: > When i try to create a topic in that multicluster, > > kafka-topics.bat --create --topic my-kafka-topic --zookeeper locahost:2181

Re: Zookeeper Error

2018-02-17 Thread Maria Pilar
When i try to create a topic in that multicluster, kafka-topics.bat --create --topic my-kafka-topic --zookeeper locahost:2181 --replication-factor 2 --partitions 3 i have received the same error Exception in thread "main" org.I0Itec.zkclient.exception.ZkException: Unable to connect to locahost:

Zookeeper Error

2018-02-17 Thread Maria Pilar
Hi I´m trying to configure a multinode cluster in kafka. I have configured each server.properties according with the new properties for each server. When i start each server, the zookeeper console shows that error. INFO Got user-level KeeperException when processing sessionid:0x161a690f731

Re: Kafka connect mysql

2018-02-17 Thread Ted Yu
In your first email, there are two pairs of brackets following connector-plugins They were output of the curl command, right ? On page 146, commands for Mac were given. What commands did you use to install mysql, etc on Debian ? Thanks On Sat, Feb 17, 2

RE: Kafka connect mysql

2018-02-17 Thread adrien ruffie
yes the fact that my jdbcSourceConnector wasn't installd 😊 By checking with the REST api connect list and status, no connector was deployed De : Ted Yu Envoyé : samedi 17 février 2018 23:46:18 À : users@kafka.apache.org Objet : Re: Kafka connect mysql From your

Re: Kafka connect mysql

2018-02-17 Thread Ted Yu
>From your first email: {"class":"io.confluent.connect.jdbc. JdbcSourceConnector","type":"source","version":"4.1.0-SNAPSHOT"} It seems the JdbcSourceConnector was installed. Did you encounter any other error apart from the globbing complaint ? Cheers On Sat, Feb 17, 2018 at 1:59 PM, adrien ruff

RE: Kafka connect mysql

2018-02-17 Thread adrien ruffie
yes like suggested :-) but nothing, Debian 9 for the OS thx Ted De : Ted Yu Envoyé : samedi 17 février 2018 22:10:19 À : users@kafka.apache.org Objet : Re: Kafka connect mysql Have you tried adding -g/--globoff ? What is the OS you use ? Cheers On Sat, Feb

Re: Kafka connect mysql

2018-02-17 Thread Ted Yu
Have you tried adding -g/--globoff ? What is the OS you use ? Cheers On Sat, Feb 17, 2018 at 11:04 AM, adrien ruffie wrote: > Hello all, > > > In Kafka the definitive guide, on page 146 I found the following command: > > > curl http://localhost:8083/connector-plugins [{"class":"org.apache.kafk

Kafka connect mysql

2018-02-17 Thread adrien ruffie
Hello all, In Kafka the definitive guide, on page 146 I found the following command: curl http://localhost:8083/connector-plugins [{"class":"org.apache.kafka.connect.file.FileStreamSourceConnector"},{"class":"io.confluent.connect.elasticsearch.ElasticsearchSinkConnector"},{"class":"org.apache.