Skip to content

Commit 51c391c

Browse files
committed
Update pulsar-client version to 2.10.6
Update logstash-core version to 8.12.3
1 parent 4e47e4e commit 51c391c

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

README.md

+24-3
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,36 @@ output {
5454
}
5555
}
5656
```
57+
# Build
58+
1. Download and build logstash code.
59+
```
60+
git clone --branch v8.*.* --single-branch https://github.com/elastic/logstash.git
61+
cd logstash
62+
./gradlew assemble
63+
```
64+
See [build.gradle](build.gradle) for specific versions.
5765

66+
2. create gradle.properties on path logstash-input-pulsar.
67+
```
68+
LOGSTASH_CORE_PATH=<target_folder>/logstash-core
69+
```
70+
3. build.
71+
```
72+
./gradlew gem
73+
// output
74+
Successfully built RubyGem
75+
Name: logstash-input-pulsar
76+
Version: 2.10.6.1
77+
File: logstash-output-pulsar-2.10.6.1.gem
78+
```
5879

5980
# Installation
6081

61-
1. Get the latest zip file from release page.
62-
https://github.com/streamnative/logstash-output-pulsar/releases
82+
1. Get the latest gem file from release page.
83+
https://github.com/ascentstream/logstash-output-pulsar/releases
6384

6485
2. Install this plugin using logstash preoffline command.
6586

6687
```
67-
bin/logstash-plugin install file://{PATH_TO}/logstash-output-pulsar-2.10.0.0.zip
88+
bin/logstash-plugin install file://{PATH_TO}/logstash-output-pulsar-2.10.6.1.gem
6889
```

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.10.0.0
1+
2.10.6.1

build.gradle

+10-5
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,17 @@ targetCompatibility = 1.8
2525

2626
buildscript {
2727
repositories {
28-
mavenCentral()
29-
jcenter()
28+
maven {
29+
url = uri("https://plugins.gradle.org/m2/")
30+
}
31+
}
32+
33+
ext {
34+
snakeYamlVersion = '2.0'
3035
}
3136

3237
dependencies {
33-
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
38+
classpath("com.github.johnrengelman:shadow:8.1.1")
3439
}
3540
}
3641

@@ -48,8 +53,8 @@ shadowJar {
4853
dependencies {
4954
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
5055
implementation 'org.apache.logging.log4j:log4j-api:2.17.2'
51-
implementation 'org.apache.pulsar:pulsar-client:2.10.2'
52-
implementation files(LOGSTASH_CORE_PATH + '/../logstash-core/build/libs/logstash-core-7.17.4.jar')
56+
implementation 'org.apache.pulsar:pulsar-client:2.10.6'
57+
implementation files(LOGSTASH_CORE_PATH + '/../logstash-core/build/libs/logstash-core-8.12.3.jar')
5358

5459
testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3'
5560
testImplementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3'
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)