amazon-kinesis-connectors icon indicating copy to clipboard operation
amazon-kinesis-connectors copied to clipboard

Upgrade to a newer Elasticsearch version ?

Open gabrielcrowdtilt opened this issue 9 years ago • 2 comments

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.

gabrielcrowdtilt avatar Jul 13 '15 22:07 gabrielcrowdtilt

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

dvassallo avatar Jul 13 '15 23:07 dvassallo

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

pmoosh avatar Dec 13 '15 03:12 pmoosh