Re: Please explain Rest API

2018-11-30 Thread Sönke Liebau
Hi Satendra, in what order did you start your connector and the console consumer and did you specify "--from-beginning"? >From your connector config it looks like the connector will only poll for data every 15 minutes (90 ms). So if you started the connector first and then your consumer it mig

Re: Please explain Rest API

2018-11-30 Thread jan
I may have missed this (I'm missing the first few messages), so sorry in advance if I have, but what OS are you using? Kafka does not work well on windows, I had problems using it that sounds a little like this (just a little though) when on win. jan On 30/11/2018, Satendra Pratap Singh wrote: >

Re: Please explain Rest API

2018-11-29 Thread Satendra Pratap Singh
Hi Sönke, when topic got created so i tried to read the topic data using console consumer but it didn't worked out consumer didn't consumer a single message. i read the log and got this every time. i don't understand where m i making mistake. [\!�qg_z��g_z�(�"{"error":{"name":"Er

Re: Please explain Rest API

2018-11-29 Thread Sönke Liebau
Hi Satendra, if I understand correctly you are using the RestSourceConnector to pull data into a Kafka topic and that seems to work - at least as far as the topic getting created. But are you saying that you tried to read data with 'cat filename.log' on a file within your kafka data directory? I

Re: Please explain Rest API

2018-11-29 Thread Satendra Pratap Singh
Hi Sönke, I have single node kafka cluster, i have setup web server locally, many apps are sending logs to this server. I have Rest API which send/receive client request to/from server. here is my connector configuration : curl -i -X POST -H "Accept:application/json" -H "Content-Type: applicati

Re: Please explain Rest API

2018-11-29 Thread Sönke Liebau
Hi Satendra, feel free to share the error and I'll see if I can help. Best regards, Sönke Am Do., 29. Nov. 2018, 14:59 hat Satendra Pratap Singh geschrieben: > Hi Sönke, > > Thanks for your response. The reason for asking about rest bcoz I m stack > while pulling pulling request from rest api

Re: Please explain Rest API

2018-11-29 Thread Satendra Pratap Singh
Hi Sönke, Thanks for your response. The reason for asking about rest bcoz I m stack while pulling pulling request from rest api. I have been using Kafka rest source connect to pull the request, connected is pulling some error instead actual data. Would you like to help me. I will share that e

Re: Please explain Rest API

2018-11-29 Thread Sönke Liebau
Hi Satendra, in addition to what Ryanne said, maybe a graphical REST tool would better suit your needs, there is a couple of good ones out there: Postman - https://www.getpostman.com/ Insomnia - https://insomnia.rest/ are two that I have used myself, but just googling for "rest gui" should turn u

Re: Please explain Rest API

2018-11-28 Thread Ryanne Dolan
I think you might be looking for cURL? On Fri, Nov 23, 2018 at 10:28 AM Satendra Pratap Singh wrote: > Hi Ryan, > > Thanks. Since I am new to Kafka don’t understand how to configures rest > api and how to reconfigure connectors. In general I don’t know how to run > GET /connector command and whe

Re: Please explain Rest API

2018-11-23 Thread Satendra Pratap Singh
Hi Ryan, Thanks. Since I am new to Kafka don’t understand how to configures rest api and how to reconfigure connectors. In general I don’t know how to run GET /connector command and where to run. Please elaborate. Sent from my iPhone > On 23-Nov-2018, at 21:43, Ryanne Dolan wrote: > > Sat

Re: Please explain Rest API

2018-11-23 Thread Ryanne Dolan
Satendra, the Connect REST API enables starting, stopping, and reconfiguring Connecters in a distributed Connect cluster. Kafka Connect, more generally, is a framework for connecting Kafka to external data sources, e.g. Change Data Capture from relational databases, etc. Ryanne On Fri, Nov 23, 20

Please explain Rest API

2018-11-23 Thread Satendra Pratap Singh
Hi Team, Please click on this link : https://kafka.apache.org/documentation/#connect_rest I am kafka beginner recently started learning kafka. i want to get my hands dirty in kafka. most of the topics have explained well but i couldn't understand Rest API. what is used for? how to use it? all com