Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Upgrade to a newer Elasticsearch version ? #52

Open
gabrielcrowdtilt opened this issue Jul 13, 2015 · 2 comments
Open

Upgrade to a newer Elasticsearch version ? #52

gabrielcrowdtilt opened this issue Jul 13, 2015 · 2 comments

Comments

@gabrielcrowdtilt
Copy link

The requirements state the Elasticsearch connector depends on Elasticsearch 1.2.1

But that version is about a year old, and they're now all the way up to 1.6.x

Not sure if it's an easy change or fairly involved to upgrade.

@dvassallo
Copy link

You should be able to just specify the new version in your pom.xml. The awslabs/cloudwatch-logs-subscription-consumer project is successfully using the amazon-kinesis-connectors library with v1.6 of the Elasticsearch client:

https://github.com/awslabs/cloudwatch-logs-subscription-consumer/blob/7d74a602329d87e5619f1fef25440410cc694e65/pom.xml#L69-L73

@pmoosh
Copy link

pmoosh commented Dec 13, 2015

There might be a bit more work involved (not a Java expert - not at all):
Elasticsearch used to shade its dependencies and to relocate packages. We no longer use shading or relocation. You might need to change your imports to the original package names, from:
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_java_api_changes.html#_shading_and_package_relocation_removed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants