Hi all,

I started a a discussion about this a while ago, but didn't take it to a
conclusion (my $realjob, etc., etc.).

There are multiple PRs open to provide an Elastic Search 2.x bolt to the
Storm project.  There are two different approaches:

1. Add side-by-side support for 2.x. Example:
https://github.com/apache/storm/pull/1337 (*FULL DISCLOSURE*: this is my
own PR). [I also have some functionality enhancements in this PR, but
that's not relevant to this discussion.]

2. Upgrade existing bolt. Example, https://github.com/apache/storm/pull/1396

The drawback to approach 1 is that it duplicates a lot of code.  The
drawback to approach 2 is that it drops support for ES 1.x.

ES 2.X has been out for a while and if we are serious about supporting it,
we need to have a way to write to ES 2.X.

I believe approach number 1 is ideal (again, it's my own PR) and possibly
deprecating the existing 1.X bolt.

I'd love to hear thoughts from others!

Reply via email to