File tree 4 files changed +36
-10
lines changed
4 files changed +36
-10
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,36 @@ output {
54
54
}
55
55
}
56
56
```
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.
57
65
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
+ ```
58
79
59
80
# Installation
60
81
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
63
84
64
85
2 . Install this plugin using logstash preoffline command.
65
86
66
87
```
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
68
89
```
Original file line number Diff line number Diff line change 1
- 2.10.0.0
1
+ 2.10.6.1
Original file line number Diff line number Diff line change @@ -25,12 +25,17 @@ targetCompatibility = 1.8
25
25
26
26
buildscript {
27
27
repositories {
28
- mavenCentral()
29
- jcenter()
28
+ maven {
29
+ url = uri(" https://plugins.gradle.org/m2/" )
30
+ }
31
+ }
32
+
33
+ ext {
34
+ snakeYamlVersion = ' 2.0'
30
35
}
31
36
32
37
dependencies {
33
- classpath ' com.github.jengelman.gradle.plugins :shadow:4.0.4 '
38
+ classpath( " com.github.johnrengelman :shadow:8.1.1 " )
34
39
}
35
40
}
36
41
@@ -48,8 +53,8 @@ shadowJar {
48
53
dependencies {
49
54
implementation ' org.apache.logging.log4j:log4j-core:2.17.2'
50
55
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' )
53
58
54
59
testImplementation ' com.fasterxml.jackson.core:jackson-databind:2.12.3'
55
60
testImplementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3'
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
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
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments