apache / rocketmq-externals

Mirror of Apache RocketMQ (Incubating)
4.55k stars 3.07k forks source link

rocketmq-logstash-input installation failure #903

Closed hahait closed 1 year ago

hahait commented 1 year ago

The issue tracker is ONLY used for bug report and feature request.

Any question or RocketMQ proposal please use our mailing lists.

BUG REPORT

  1. Please describe the issue you observed:
image
cd ~
wget https://github.com/apache/rocketmq-externals/archive/refs/heads/master.zip
cp -ra rocketmq-externals/rocketmq-logstash-integration/rocketmq-logstash-input ./
cd rocketmq-logstash-input/
echo 'LOGSTASH_CORE_PATH=/xxx/logstash/logstash-core' >> gradle.properties
./gradlew gem
image
cd logstash
bin/logstash-plugin install --no-verify --local /xxx/rocketmq-logstash-input/logstash-input-rocketmq-1.0.0.gem
image
Plug-in installed successfully
  1. Please tell us about your environment:

  2. jdk version:
    openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

  3. OS Version: PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

  4. kernel version: Linux xx-hostname 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux

  5. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

    After logstash is compiled, the 'vendor' directory is not generated, Therefore, there is no 'vendor/jruby' directory
    image
hahait commented 1 year ago

这个问题,已经解决: 在安装 rocketmq input 插件时,要下载 logstash 官方提供的二进制包(与编译的 logstash 同版本),将插件装在这个二进制包里;