Hi, Elkhan, Viktor.

I took a look at the updated KIP. I think Viktor mentioned that he did not see 
the relevant configuration, which refers to "(Optional) - MirrorConnectorConfig 
- a configuration to control the poll interval for the Consumer.endOffsets() 
call at LEO acquisition mentioned below". I think we can introduce the name of 
this configuration here, such as "update.replication.lag.interval.time", which 
means that in a separate periodic scheduling thread, the lag is calculated by 
this interval time through "consumer.endOffsets - LRO". In addition, for the 
LRO cache, you can add an expired time attribute for each partition. If this 
expired interval time is exceeded before next updated, the LRO of this 
partition can be removed from the cache to avoid possible leaks and OOM.

best,
hudeqi

Reply via email to