Skip to content

Commit

Permalink
[improve][broker] Add oshi library to help control OS resources. (#18990
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mattisonchao authored Jan 9, 2023
1 parent badd69b commit 96f8262
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 6 additions & 2 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@ The Apache Software License, Version 2.0
- org.apache.logging.log4j-log4j-core-2.18.0.jar
- org.apache.logging.log4j-log4j-slf4j-impl-2.18.0.jar
- org.apache.logging.log4j-log4j-web-2.18.0.jar
* Java Native Access JNA -- net.java.dev.jna-jna-5.12.1.jar
* Java Native Access JNA
- net.java.dev.jna-jna-5.12.1.jar
- net.java.dev.jna-jna-jpms-5.12.1.jar
- net.java.dev.jna-jna-platform-jpms-5.12.1.jar
* BookKeeper
- org.apache.bookkeeper-bookkeeper-common-4.15.3.jar
- org.apache.bookkeeper-bookkeeper-common-allocator-4.15.3.jar
Expand Down Expand Up @@ -509,7 +512,8 @@ MIT License
- org.slf4j-jcl-over-slf4j-1.7.32.jar
* The Checker Framework
- org.checkerframework-checker-qual-3.12.0.jar

* oshi
- com.github.oshi-oshi-core-java11-6.4.0.jar
Protocol Buffers License
* Protocol Buffers
- com.google.protobuf-protobuf-java-3.19.6.jar -- ../licenses/LICENSE-protobuf.txt
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ flexible messaging model and an intuitive client API.</description>
<roaringbitmap.version>0.9.15</roaringbitmap.version>
<extra-enforcer-rules.version>1.6.1</extra-enforcer-rules.version>
<lombok.plugin.version>1.18.20.0</lombok.plugin.version>
<oshi.version>6.4.0</oshi.version>

<!-- Used to configure rename.netty.native. Libs -->
<rename.netty.native.libs>rename-netty-native-libs.sh</rename.netty.native.libs>
Expand Down Expand Up @@ -1344,6 +1345,11 @@ flexible messaging model and an intuitive client API.</description>
<artifactId>RoaringBitmap</artifactId>
<version>${roaringbitmap.version}</version>
</dependency>
<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core-java11</artifactId>
<version>${oshi.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
6 changes: 6 additions & 0 deletions pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@
<artifactId>RoaringBitmap</artifactId>
</dependency>

<dependency>
<groupId>com.github.oshi</groupId>
<artifactId>oshi-core-java11</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pulsar-functions-api-examples</artifactId>
Expand Down Expand Up @@ -425,6 +430,7 @@
<artifactId>pulsar-package-filesystem-storage</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>

<build>
Expand Down

0 comments on commit 96f8262

Please sign in to comment.