From ae432b560b16dce7912a147b810c0341604055ca Mon Sep 17 00:00:00 2001 From: Mitsutoshi Aoe Date: Wed, 29 Jan 2020 09:11:00 +0900 Subject: [PATCH 1/2] Rename kafka to kafka2 (fixes #4) --- bin/check-kafka-ping.rb | 4 ++-- bin/metrics-kafka-http.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/check-kafka-ping.rb b/bin/check-kafka-ping.rb index 42303d7..1581261 100755 --- a/bin/check-kafka-ping.rb +++ b/bin/check-kafka-ping.rb @@ -28,10 +28,10 @@ require 'sensu-plugin/check/cli' require 'rest-client' require 'json' -require 'sensu-plugins-kafka' +require 'sensu-plugins-kafka2' class CheckKafkaPing < Sensu::Plugin::Check::CLI - include CommonKafka + include CommonKafka2 option :endpoint, short: '-p ENDPOINT', diff --git a/bin/metrics-kafka-http.rb b/bin/metrics-kafka-http.rb index 53584ba..89256cd 100755 --- a/bin/metrics-kafka-http.rb +++ b/bin/metrics-kafka-http.rb @@ -29,10 +29,10 @@ require 'sensu-plugin/metric/cli' require 'rest-client' require 'json' -require 'sensu-plugins-kafka' +require 'sensu-plugins-kafka2' class MetricsKafkaHttp < Sensu::Plugin::Metric::CLI::Generic - include CommonKafka + include CommonKafka2 option :endpoint, short: '-p ENDPOINT', long: '--endpoint ENDPOINT', From 17a951bc0e80d8a732cadd35697fb3e1af816ee5 Mon Sep 17 00:00:00 2001 From: Mitsutoshi Aoe Date: Wed, 29 Jan 2020 09:21:43 +0900 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index beb2556..b20fe9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,4 +21,7 @@ This CHANGELOG follows the format located [here](https://github.com/sensu-plugin - removing EOL versions of ruby - patching for any known CVEs +### Fixed +- renamed kafka to kafka2 to fix [#4](https://github.com/sensu-plugins/sensu-plugins-kafka2/issues/4) (@maoe) + [Unreleased]: https://github.com/sensu-plugins/sensu-plugins-kafka/compare/d4eebcfed091899571e21c0e433cceb3e386d2c7...HEAD