-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Elasticsearch 6.0 #154
Comments
Mapping types are actually still there in elasticsearch 6.0, but you can only have one type pr.index now, which kind of makes the whole concept of types redundant. However, I had some problems using elasticsearch 6.0 even with just one type. Not sure why yet, trying to dig up the reason. |
Hi everyone. I'd love to help, do we know what we need to do here to get support for 6.0? |
It might work if you allow elasticsearch handle the schema mapping . ( set Line 36 in ebf12ba
in particular, the elasticsearch data type for String is now Text (or Keyword). More details here: https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking_50_mapping_changes.html There may be other issues as well. |
This connector code is very outdated (only supports ES 2.4.x and before) and does not apply ES best practices where applicable (for instance, it insists on setting document IDs, doesn't support time-based indices, doesn't support HTTP(S) authentication and more). To use with ES 5.x and above, you need to create the index and it's mappings yourself and use The single type per index at this point in time is just a nuance, just make sure to set |
I'm re-titling this as it's encompassing several issues. |
This is fixed with #169 |
We are running this connector with Although the ingestion works, we have noticed that for each document sent the following WARN is printed in the es client logs:
This is a bit annoying since it creates a lot of noise in the logs. Digging a bit in the source code I have noticed the dependency with Is there any plan to upgrade to a newer version or (even better) use the Java High Level Rest Client now available from elastic? |
Elastic-search is going to remove mapping type from version 6.0
[(https://www.elastic.co/blog/removal-of-mapping-types-elasticsearch)]
what are the currently supported Elasticsearch versions?
will kafka-connect-elasticsearch work seamlessly with Elasticsearch version 6.0?
The text was updated successfully, but these errors were encountered: