-
Notifications
You must be signed in to change notification settings - Fork 21
Conversation
Thanks! I tried this locally and I can see What's confusing though is that not every partition is reported for each timestamp. Have you thought about that? |
Hi, the reason is that we cannot get all partition |
Thanks! A use case that I’m still trying to implement with burrowx is creating this kind of charts: KafkaOffsetMonitor only shows these on topic level. It would be nice to be able to do these on both topic & partition level, although topic level is not a must. I think this should be doable if the max offsets are pushed separately* (periodically, or at least when they change). Nice thing with grafana is that charts can automatically roll forward as new data arrives. I’m not sure if it will be possible to create monitoring charts similar to this based on the data that burrowx currently stores in influxdb. *) Have you considered pushing the max offsets of every topic & partition periodically? Even without visualizations, this would allow monitoring if some consumers are not committing anything to partitions that have new messages. |
Yes, currently there are still some bugs to have this feature, but I am on marriage vacation now, so I may have no time to finish it. You could try eagle and kafka-monitor, maybe I will consider a better way to have it in burrowx in the future, but with no promise. |
Thanks for the suggestions;
When you have some more time, please consider my following question on fluctuation of consumer offset & lag charts in grafana:
Until then, enjoy your vacation! |
@juhoautio Sorry for the delay. I have updated this PR, seems it's ok to have topic consumer partition metrics now.
May u have a look about this? Just checkout this branch, and have some tests. |
@sundy-li thanks for the update. Could you describe a bit more what your latest change does? Also, sorry that I forgot to mention it before, but we found a solution that's based on the KafkaOffsetMonitor that we have been using: https://github.com/quantifind/KafkaOffsetMonitor (dead project, but works). To get what we need we only needed to write this reporter plugin:
|
I just use the OffsetFetchRequest API to fetch the consumer offsets regardless of consuming the topic |
No description provided.