Skip to content

Commit

Permalink
remove PartitionScore (opensource4you#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
qoo332001 authored Jul 29, 2022
1 parent bc502e4 commit 5d29e0a
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 637 deletions.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ This project offers many kafka tools to simplify the life for kafka users.
1. [Kafka quick start](#kafka-cluster-quick-start): set up a true kafka cluster in one minute
2. [Kafka performance](#Performance-Benchmark): check producing/consuming performance.
3. [Kafka metric explorer](#kafka-metric-explorer): utility for accessing kafka Mbean metrics via JMX.
4. [Kafka partition score](#Kafka-partition-score): score all broker's partitions.
5. [Kafka replica syncing monitor](#Kafka-replica-syncing-monitor): Tracking replica syncing progress.
6. [Astraea Web Server 中文文件連結](./docs/web_server/README.md)
4. [Kafka replica syncing monitor](#Kafka-replica-syncing-monitor): Tracking replica syncing progress.
5. [Astraea Web Server 中文文件連結](./docs/web_server/README.md)

[Github packages](https://github.com/orgs/skiptests/packages?repo_name=astraea) offers the docker image to run mentioned tools
```shell
Expand Down Expand Up @@ -254,22 +253,6 @@ Run the tool from release
---
## Kafka Partition Score
This tool will score the partition on brokers, the higher score the heavier load.
### Start scoring partitions on broker address "192.168.103.39:9092"
```shell
./gradlew run --args="score --bootstrap.servers 192.168.103.39:9092"
```
### Partition Score Configurations
1. --bootstrap.servers: the server to connect to
2. --exclude.internal.topics: True if you want to ignore internal topics like _consumer_offsets while counting score.
3. --hide.balanced: True if you want to hide topics and partitions thar already balanced.:q
## Kafka Replica Syncing Monitor
This tool will track partition replica syncing progress. This tool can be used to observe
Expand Down Expand Up @@ -316,4 +299,4 @@ $ ./gradlew run --args="monitor --bootstrap.servers 192.168.103.39:9092"
2. --interval: the frequency(time interval in second) to check replica state, support floating point value. (default: 1 second)
3. --prop.file: the path to a file that containing the properties to be passed to kafka admin.
4. --topic: topics to track (default: track all non-synced partition by default)
5. --track: keep track even if all the replicas are synced. Also attempts to discover any non-synced replicas. (default: false)
5. --track: keep track even if all the replicas are synced. Also attempts to discover any non-synced replicas. (default: false)
2 changes: 0 additions & 2 deletions app/src/main/java/org/astraea/app/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.Map;
import org.astraea.app.admin.ReplicaSyncingMonitor;
import org.astraea.app.automation.Automation;
import org.astraea.app.cost.topic.PartitionScore;
import org.astraea.app.metrics.MetricExplorer;
import org.astraea.app.performance.Performance;
import org.astraea.app.web.WebService;
Expand All @@ -32,7 +31,6 @@ public class App {
private static final Map<String, Class<?>> MAIN_CLASSES =
Map.of(
"metrics", MetricExplorer.class,
"score", PartitionScore.class,
"performance", Performance.class,
"monitor", ReplicaSyncingMonitor.class,
"automation", Automation.class,
Expand Down
131 changes: 0 additions & 131 deletions app/src/main/java/org/astraea/app/cost/topic/CalculateUtils.java

This file was deleted.

63 changes: 0 additions & 63 deletions app/src/main/java/org/astraea/app/cost/topic/GetPartitionInf.java

This file was deleted.

118 changes: 0 additions & 118 deletions app/src/main/java/org/astraea/app/cost/topic/PartitionScore.java

This file was deleted.

Loading

0 comments on commit 5d29e0a

Please sign in to comment.