How to get the consumer lag in eventhub

ⅰ亾dé卋堺 提交于 2019-12-25 01:47:29

问题


I am using eventhub python sdk consumer for real time processing of the data from eventhub. I have currently 2 partitions of my topic. I would like to know about my consumer lag. I know what is the sequence number of the message I am processing, but cannot get the last sequence number enqueued in the event hub on a particular partition. If I can get this information, it will be very easy for me to find the lag for a particular partition.

Can someone please help me how can I do this?

来源:https://stackoverflow.com/questions/59279601/how-to-get-the-consumer-lag-in-eventhub

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!