Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Areeb-Gillani authored Sep 2, 2024
1 parent 5fa76b0 commit 3fd50bc
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ allprojects {
#### build.gradle
```kotlin
dependencies {
implementation ("com.github.Areeb-Gillani:vertx-boost:0.0.17")
implementation ("com.github.Areeb-Gillani:vertx-boost:0.0.18")
}
```
#### pom.xml
Expand All @@ -43,21 +43,36 @@ dependencies {
<dependency>
<groupId>com.github.Areeb-Gillani</groupId>
<artifactId>vertx-boost</artifactId>
<version>0.0.17</version>
<version>0.0.18</version>
</dependency>
</dependencies>
```
# Configuration
Vertx says that every class that extends AbstractVerticle will be handled by its own dedicated threads and thread pools and will have its own life cycle. I am assuming that you have the basic idea of MainVerticle and WorkerVerticle. If you don't have the idea, then please visit https://vertx.io first. A service is basically a worker verticle; you can configure it using the following JSON:
### Config JSON
### Config.json
```json
{
{...},
"workers":{
"ExampleWorker":{
"instance":5,
"poolSize":6
}
}
},
{...}
}
```
# Monitoring
Add these lines for performance monitoring metrics enablement via Prometheus.
### Config.json
```json
{
{...},
"metrics": {
"enabled": true,
"tool": "prometheus"
},
{...}
}
```

Expand Down

0 comments on commit 3fd50bc

Please sign in to comment.