Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
update contributors list, and format change in ClusterInfoServlet.java (
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyang08 authored Apr 11, 2019
1 parent b73d4e8 commit 31b870f
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 20 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,16 @@ Detailed description of APIs can be found [docs/APIs.md](docs/APIs.md)
* [Yu Yang](https://github.com/yuyang08)
* [Henry Cai](https://github.com/HenryCaiHaiying)
* [Ambud Sharma](https://github.com/ambud)
* [Ping-Min Lin](https://github.com/kabochya)

## Contributors
* [Brian Gallew](https://github.com/BrianGallew)
* [Georgios Andrianakis](https://github.com/geoand)
* [Jaakko Aro](https://github.com/jaakkoo)
* [Patrick Double](https://github.com/double16)
* [Paul Kiernan](https://github.com/paulkiernan)
* [Brian Sang](https://github.com/Baisang)
* [Nitin Agrawal](https://github.com/nitin456)

## License

Expand Down
6 changes: 5 additions & 1 deletion drkafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
</developer>
<developer>
<id>ambud</id>
<name>Ambud</name>
<name>Ambud Sharma</name>
</developer>
<developer>
<id>kabochya</id>
<name>Ping-Min Lin</name>
</developer>
</developers>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public void renderJSON(PrintWriter writer, Map<String, String> params) {
try {
KafkaClusterManager clusterManager = DoctorKafkaMain.doctorKafka.getClusterManager(clusterName);
if (clusterManager == null) {
ClusterInfoError error = new ClusterInfoError("Failed to find cluster manager for " + clusterName);
writer.print(gson.toJson(error));
return ;
ClusterInfoError error = new ClusterInfoError("Failed to find cluster manager for " + clusterName);
writer.print(gson.toJson(error));
return ;
}
writer.print(gson.toJson(clusterManager.toJson()));
} catch (Exception e) {
Expand Down Expand Up @@ -138,17 +138,14 @@ public void renderHTML(PrintWriter writer, Map<String, String> params) {
writer.print("</tr>");
}
writer.print("</tbody> </table>");

printTopicPartitionInfo(cluster, writer);

} catch (Exception e) {
LOG.error("Unexpected error", e);
}
printFooter(writer);
}

private void printTopicPartitionInfo(KafkaCluster cluster, PrintWriter writer) {

writer.print("<div> <h4> Topics </h4> </div>");
writer.print("<div> <table class=\"table\"> <tbody>");
int topicId = 1;
Expand Down
28 changes: 16 additions & 12 deletions kafkastats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,22 @@
</licenses>

<developers>
<developer>
<id>yuyang08</id>
<name>Yu Yang</name>
</developer>
<developer>
<id>HenryCaiHaiying</id>
<name>Henry Cai</name>
</developer>
<developer>
<id>ambud</id>
<name>Ambud</name>
</developer>
<developer>
<id>yuyang08</id>
<name>Yu Yang</name>
</developer>
<developer>
<id>HenryCaiHaiying</id>
<name>Henry Cai</name>
</developer>
<developer>
<id>ambud</id>
<name>Ambud Sharma</name>
</developer>
<developer>
<id>kabochya</id>
<name>Ping-Min Lin</name>
</developer>
</developers>

<scm>
Expand Down
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
</developer>
<developer>
<id>ambud</id>
<name>Ambud</name>
<name>Ambud Sharma</name>
</developer>
<developer>
<id>kabochya</id>
<name>Ping-Min Lin</name>
</developer>
</developers>

Expand Down

0 comments on commit 31b870f

Please sign in to comment.