-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issues building against Logstash 7.0.0 #1
Comments
@whmeitzler, thank you for trying out the Java plugin API and reporting back on your experience. Apologies for your trouble as there are clearly a couple deficiencies in the documentation that I will fix based on your feedback. Briefly:
Please let me know if you have any other questions or run into any other difficulties with this. |
I've updated the README with a new section on setting up the environment. Let me know if that does not address the problems you encountered. |
Yes, I got it to build this way. Request: Please push the logstash-core jar file into maven central to make file easier. |
@nielsbasjes, our plan is to eventually publish a jar containing the classes and interfaces in the |
@danhermann Any update on when such a jar might land on jcenter/central? Still shipping with the latest 6.7 release or later? |
@holgerbrandl, we have some challenges around the packaging and deployment of Java plugins that we need to resolve before we can determine how best to isolate and publish the logstash-core dependencies for Java plugins. It will definitely be after 6.7 since that went out yesterday. |
Thanks @danhermann for the update |
Posting this for discussion and to document my steps for other users; I appreciate that this repo is currently experimental.
It seems this repo has gotten out of sync with the plugin interface in Logstash Core.
The steps to build the project are unclear. Currently,
build.gradle
includes a reference toLOGSTASH_CORE_PATH
, which goes nowhere, causing the build to fail. In order to hack things into working, I ended up cloning the core logstash project, generating the requisite jar by calling~/src/logstash $ gradle jar
and replacingLOGSTASH_CORE_PATH
with the absolute path of~/src/logstash/logstash-core/build/libs
. Is there a preferred (read: less hacky) way to manage this artifact dependency?It appears the plugin interface in Logstash 7.0.0 has diverged from the state of this repo. The method signature of Filter.filter has changed, as have the steps to generate
JavaFilterExample.SOURCE_CONFIG
.The text was updated successfully, but these errors were encountered: