Skip to content

Commit

Permalink
Added tools
Browse files Browse the repository at this point in the history
  • Loading branch information
itadventurer committed Jun 24, 2019
1 parent 1835248 commit cb67d6f
Show file tree
Hide file tree
Showing 50 changed files with 210 additions and 1,043 deletions.
45 changes: 0 additions & 45 deletions bin/connect-distributed.sh

This file was deleted.

45 changes: 0 additions & 45 deletions bin/connect-standalone.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-acls
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-acls.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-broker-api-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-broker-api-versions.sh

This file was deleted.

8 changes: 8 additions & 0 deletions bin/kafka-configs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_zookeeper "$PARAMS" "--zookeeper")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-configs.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-console-consumer
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--consumer.config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
30 changes: 0 additions & 30 deletions bin/kafka-console-consumer.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-console-producer
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--broker-list")
PARAMS=$(add_tls "$PARAMS" "--producer.config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
29 changes: 0 additions & 29 deletions bin/kafka-console-producer.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-consumer-groups
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-consumer-groups.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-consumer-perf-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--broker-list")
PARAMS=$(add_tls "$PARAMS" "--consumer.config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
20 changes: 0 additions & 20 deletions bin/kafka-consumer-perf-test.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-delegation-tokens
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-delegation-tokens.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-delete-records
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
17 changes: 0 additions & 17 deletions bin/kafka-delete-records.sh

This file was deleted.

17 changes: 0 additions & 17 deletions bin/kafka-dump-log.sh

This file was deleted.

9 changes: 9 additions & 0 deletions bin/kafka-log-dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
PARAMS="$@"
DIR=$( dirname "${BASH_SOURCE[0]}" )
source "$DIR/utils.sh"

PARAMS=$(add_bootstrap_servers "$PARAMS" "--bootstrap-server")
PARAMS=$(add_tls "$PARAMS" "--command-config")

exec $KAFKA_CLI_DIR/$(basename $0).sh $PARAMS
Loading

0 comments on commit cb67d6f

Please sign in to comment.