Giter VIP home page Giter VIP logo

elasticsearch-changes-plugin's Issues

Flag to distinguish changes from another cluster

Hiya

I'm following this plugin with interest.

One thing that'd be nice to see is a flag somewhere that allows us to distinguish which changes should show up in the changes stream.

For instance, lets say we're trying two way replication between two clusters, thus allowing writes on both clusters. If a change happens on ClusterA, and you replicate it to ClusterB, you want that change to be flagged as having originated from ClusterA so that you don't get a cycle

The details of solving this I'll leave to you :)

thanks

Clint

can't install this plugin on ES 1.3.2

While trying to install this plugin on a vm running elasticsearch 1.3.2 I get the following:

spaans@estest:/usr/share/elasticsearch$ sudo bin/plugin -install derryx/elasticsearch-changes-plugin
-> Installing derryx/elasticsearch-changes-plugin...
Trying https://github.com/derryx/elasticsearch-changes-plugin/archive/master.zip...
Downloading .................DONE
Installed derryx/elasticsearch-changes-plugin into /usr/share/elasticsearch/plugins/changes-plugin
Usage:
    -u, --url     [plugin location]   : Set exact URL to download the plugin from
    -i, --install [plugin name]       : Downloads and installs listed plugins [*]
    -t, --timeout [duration]          : Timeout setting: 30s, 1m, 1h... (infinite by default)
    -r, --remove  [plugin name]       : Removes listed plugins
    -l, --list                        : List installed plugins
    -v, --verbose                     : Prints verbose messages
    -s, --silent                      : Run in silent mode
    -h, --help                        : Prints this help message

 [*] Plugin name could be:
     elasticsearch/plugin/version for official elasticsearch plugins (download from download.elasticsearch.org)
     groupId/artifactId/version   for community plugins (download from maven central or oss sonatype)
     username/repository          for site plugins (download from github master)

Message:
   Error while installing plugin, reason: IllegalArgumentException: Plugin installation assumed to be site plugin, but contains source code, aborting installation.

(Side note: is this a supported configuration at all?)

ES 6.8.0 java.lang.IllegalArgumentException: if you don't need a prefix then use a regular logger

The exception in the title occur at plugin load time, preventing ES from starting up.

Appears to be caused by this change: elastic/elasticsearch@e3763b4

Changing all calls to Logger.getLogger() from something like:

private final Logger log = Loggers.getLogger(ChangesFeedPlugin.class);

to:

private final Logger log = Loggers.getLogger(ChangesFeedPlugin.class, "Changes Feed");

Seems to fix the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.