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

Commit

Permalink
bump up to 0.2.4.8 (#145)
Browse files Browse the repository at this point in the history
Adding authentication
  • Loading branch information
kabochya authored May 23, 2019
1 parent e8af094 commit 0f1005e
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The following is a sample command line for running kafkastats collector:
```
java -server \
-Dlog4j.configurationFile=file:./log4j2.xml \
-cp lib/*:kafkastats-0.2.4.7.jar \
-cp lib/*:kafkastats-0.2.4.8.jar \
com.pinterest.doctorkafka.stats.KafkaStatsMain \
-broker 127.0.0.1 \
-jmxport 9999 \
Expand Down Expand Up @@ -127,15 +127,15 @@ mvn package -pl drkafka -am
```sh
mvn package
mkdir ${DOCTORKAFKA_INSTALL_DIR} # directory to place DoctorKafka binaries in.
tar -zxvf target/doctorkafka-0.2.4.7-bin.tar.gz -C ${DOCTORKAFKA_INSTALL_DIR}
tar -zxvf target/doctorkafka-0.2.4.8-bin.tar.gz -C ${DOCTORKAFKA_INSTALL_DIR}
```

##### Run DoctorKafka
```sh
cd ${DOCTORKAFKA_INSTALL_DIR}

java -server \
-cp lib/*:doctorkafka-0.2.4.7.jar \
-cp lib/*:doctorkafka-0.2.4.8.jar \
com.pinterest.doctorkafka.DoctorKafkaMain \
server dropwizard_yaml_file
```
Expand All @@ -162,7 +162,7 @@ DoctorKafka comes with a number of tools implementing interactions with the envi
cd ${DOCTORKAFKA_INSTALL_DIR}
java -server \
-Dlog4j.configurationFile=file:drkafka/config/log4j2.xml \
-cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.7.jar \
-cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.8.jar \
com.pinterest.doctorkafka.tools.ClusterLoadBalancer \
-brokerstatstopic brokerstats \
-brokerstatszk zookeeper001:2181/cluster1 \
Expand Down
2 changes: 1 addition & 1 deletion drkafka/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y mailutils
RUN apt-get update && apt-get install -y sendmail

# Add the build artifact under /opt, can be overridden by docker build
ARG ARTIFACT_PATH=target/doctorkafka-0.2.4.7-bin.tar.gz
ARG ARTIFACT_PATH=target/doctorkafka-0.2.4.8-bin.tar.gz
ADD $ARTIFACT_PATH /opt/doctorkafka/
# default cmd
CMD /opt/doctorkafka/scripts/run_in_container.sh
2 changes: 1 addition & 1 deletion drkafka/config/doctorkafka.properties
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ doctorkafka.emails.notification=email_address_1,email_address_2
doctorkafka.emails.alert=email_address_3,email_address_4

# [optional] brokerstats.version
doctorkafka.brokerstats.version=0.2.4.7
doctorkafka.brokerstats.version=0.2.4.8


################################################################################
Expand Down
2 changes: 1 addition & 1 deletion drkafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>doctorkafka-parent</artifactId>
<groupId>com.github.pinterest</groupId>
<version>0.2.4.7</version>
<version>0.2.4.8</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion drkafka/scripts/action_retriever.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -x

java -cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.7.jar \
java -cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.8.jar \
-Dlog4j.configurationFile=file:./drkafka/config/log4j2.dev.xml \
com.pinterest.doctorkafka.tools.DoctorKafkaActionRetriever \
$1 $2 $3 $4 $5 $6
2 changes: 1 addition & 1 deletion drkafka/scripts/run_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -x

java -cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.7.jar \
java -cp drkafka/target/lib/*:drkafka/target/doctorkafka-0.2.4.8.jar \
-Dlog4j.configurationFile=file:./drkafka/config/log4j2.dev.xml \
com.pinterest.doctorkafka.DoctorKafkaMain server drkafka/config/doctorkafka.dev.yaml
2 changes: 1 addition & 1 deletion drkafka/src/main/resources/versioning.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=0.2.4.7
version=0.2.4.8
artifactId=doctorkafka
2 changes: 1 addition & 1 deletion kafkastats/deb.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4.7
0.2.4.8
2 changes: 1 addition & 1 deletion kafkastats/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.pinterest</groupId>
<artifactId>doctorkafka-parent</artifactId>
<version>0.2.4.7</version>
<version>0.2.4.8</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class BrokerStatsRetriever {

private static final String PROC_NET_DEV = "/proc/net/dev";
private static final Logger LOG = LogManager.getLogger(BrokerStatsRetriever.class);
private static final String VERSION = "0.2.4.7";
private static final String VERSION = "0.2.4.8";
private static String KAFKA_LOG = "kafka.log";
private static String KAFKA_SERVER = "kafka.server";
private static String LOG_DIR = "log.dir";
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<name>doctorkafka-parent</name>
<groupId>com.github.pinterest</groupId>
<artifactId>doctorkafka-parent</artifactId>
<version>0.2.4.7</version>
<version>0.2.4.8</version>
<packaging>pom</packaging>
<url>https://github.com/pinterest/doctorkafka</url>

Expand Down

0 comments on commit 0f1005e

Please sign in to comment.