Huuancao / sentinel

A monitoring tool platform for instance to retrieve all certificates of all sub-domains from a given domain by scanning a sub-network and check their validity.
GNU General Public License v3.0
1 stars 0 forks source link

Kafka monitoring #1

Open Huuancao opened 4 years ago

Huuancao commented 4 years ago

Would be nice to add some Kafka monitoring features:

Huuancao commented 4 years ago

Okay, so I will add more configuration management features to this tool as well. Working with Kafka using their own scripts to create topics, etc is really frustrating...

Huuancao commented 4 years ago

This can help to mock a broker for testing:

https://github.com/Shopify/sarama/blob/master/mockbroker.go

Huuancao commented 4 years ago

At the moment, it's annoying to setup ACLs for consumer groups... Need to add this feature later. For the moment to run a basic consumer with a random consumer group, we can use this example: https://github.com/Shopify/sarama/blob/master/examples/consumergroup/main.go

go run main.go -brokers localhost:9092 -group test -topics consumer-group-test -verbose

Huuancao commented 4 years ago

Looking forward writing the tests for this...