{"action":"opened","issue":{"url":"https://api.github.com/repos/confluentinc/kafka-connect-elasticsearch/issues/183","repository_url":"https://api.github.com/repos/confluentinc/kafka-connect-elasticsearch","labels_url":"https://api.github.com/repos/confluentinc/kafka-connect-elasticsearch/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/confluentinc/kafka-connect-elasticsearch/issues/183/comments","events_url":"https://api.github.com/repos/confluentinc/kafka-connect-elasticsearch/issues/183/events","html_url":"https://github.com/confluentinc/kafka-connect-elasticsearch/issues/183","id":304866366,"number":183,"title":"Data does not appear in Elasticsearch","user":{"login":"cxk280","id":19479857,"avatar_url":"https://avatars2.githubusercontent.com/u/19479857?v=4","gravatar_id":"","url":"https://api.github.com/users/cxk280","html_url":"https://github.com/cxk280","followers_url":"https://api.github.com/users/cxk280/followers","following_url":"https://api.github.com/users/cxk280/following{/other_user}","gists_url":"https://api.github.com/users/cxk280/gists{/gist_id}","starred_url":"https://api.github.com/users/cxk280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxk280/subscriptions","organizations_url":"https://api.github.com/users/cxk280/orgs","repos_url":"https://api.github.com/users/cxk280/repos","events_url":"https://api.github.com/users/cxk280/events{/privacy}","received_events_url":"https://api.github.com/users/cxk280/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T17:38:35Z","updated_at":"2018-03-13T17:38:35Z","closed_at":null,"author_association":"NONE","body":"I'm building a simple chat app to practice my abilities with Kafka and Elasticsearch. I'm using Confluent's Kafka and Kafka Connect Elasticsearch Connector as well as the [open source version](https://www.elastic.co/products/elasticsearch) of Elasticsearch. Communications between my app and Kafka use the Kafka-rest API with JSON. I am following the instructions [here](https://docs.confluent.io/current/connect/connect-elasticsearch/docs/elasticsearch_connector.html).\r\n\r\nAs the instructions state, I am running Elasticsearch before I start the rest of the process. So far I am able to send messages from the app to Kafka and back again with no problem. When I run confluent load elasticsearch-sink after sending messages, I get the output the instructions say to expect. I don't get that output if I haven't sent the messages, which seems to indicate that the flow of data is working at least that far. However, when I cURL with the following command, which the docs state should get my data from Elasticsearch...\r\n\r\n`curl -XGET 'http://localhost:9200/jsontest/_search?pretty'`\r\n\r\n...I get the following output...\r\n\r\n```\r\n{\r\n  \"took\" : 3,\r\n  \"timed_out\" : false,\r\n  \"_shards\" : {\r\n    \"total\" : 5,\r\n    \"successful\" : 5,\r\n    \"skipped\" : 0,\r\n    \"failed\" : 0\r\n  },\r\n  \"hits\" : {\r\n    \"total\" : 0,\r\n    \"max_score\" : null,\r\n    \"hits\" : [ ]\r\n  }\r\n}\r\n```\r\n\r\n...which does not include my messages. The data should be in hits.hits.\r\n\r\nPlease note that I am using version 5.6.8 of Elasticsearch, as the Confluent docs state that there is a known issue with versions 6.x. Also, my cURL command differs slightly from the example to account for the fact that my topic is` jsontest`, not `test-elasticsearch-sink`. I have been sure to change the topics in the `quickstart-elasticsearch.properties` file in order for this to work.\r\n\r\nHow do I get my data into Elasticsearch?"}}
{"actor":{"display_login":"cxk280"}}