burrow-dashboard
burrow-dashboard copied to clipboard
UI Graph Issue
hi @joway , The below is my burrow configuration. start [general] access-control-allow-origin="*"
[logging] level=""
[zookeeper] servers=["z-2xxxxxx.com:2181","z-1xxxxcom:2181","z-3xxxxx.com:2181"] timeout=6 root-path="/burrow"
[client-profile.kafka-profile] kafka-version="2.2.1" client-id="burrow-client"
[cluster.gw] class-name="kafka" client-profile="kafka-profile" servers=["b-3.xxxxxx.com:9092","b-2.xxxx.com:9092","b-1.xxxx.com:9092"] topic-refresh=120 offset-refresh=10
[consumer.consumer_kafka] class-name="kafka" cluster="gw" servers=["b-3.xxxxxx.com:9092","b-2.xxxx.com:9092","b-1.xxxx.com:9092"] client-profile="kafka-profile" start-latest="false" offsets-topic="__consumer_offsets" group-blacklist="^(console-consumer-|python-kafka-consumer-).*$"
[consumer.consumer_zk] class-name="kafka_zk" cluster="gw" servers=["z-2xxxxxx.com:2181","z-1xxxxcom:2181","z-3xxxxx.com:2181"] zookeeper-timeout=30 group-blacklist="^(console-consumer-|python-kafka-consumer-).*$"
[notifier.influxdb] class-name="http" interval=10 threshold=1 send-close=false template-open="/etc/burrow/tmpl/http-influxdb.tmpl" url-open="http://someservice.example.com:1467/v1/event"
[httpserver.default] Reading configuration from /etc/burrow address=":8000"
If case if introduce some consumer lag (turning off the consumer), the below is how the graph screen looks,
At this point , when i query the burrow using the rest endpoints (http://localhost/v3/kafka/gw/consumer/burrowtopic6/lag) , i am getting the below valid response.
{"error":false,"message":"consumer status returned","status":{"cluster":"gw","group":"burrowtopic6","status":"ERR","complete":0,"partitions":[{"topic":"burrowtopic6","partition":0,"owner":"","client_id":"","status":"STOP","start":{"offset":10,"timestamp":1583006894806,"observedAt":1583006894000,"lag":0},"end":{"offset":10,"timestamp":1583006906831,"observedAt":1583006906000,"lag":0},"current_lag":2,"complete":0.4}],"partition_count":1,"maxlag":{"topic":"burrowtopic6","partition":0,"owner":"","client_id":"","status":"STOP","start":{"offset":10,"timestamp":1583006894806,"observedAt":1583006894000,"lag":0},"end":{"offset":10,"timestamp":1583006906831,"observedAt":1583006906000,"lag":0},"current_lag":2,"complete":0.4},"**totallag**":2},"request":{"url":"/v3/kafka/gw/consumer/burrowtopic6/lag","host":"kafka-burrow-5"}}
Once i restart my burrow pod , then the lag graph is getting displayed in the UI. Not sure whats the reason for this kind of behaviour. Any idea ?