ecerulm commented on PR #15500:
URL: https://github.com/apache/airflow/pull/15500#issuecomment-1119584362

   > I came across using `allow_watch_bookmarks` 
https://kubernetes.io/docs/reference/using-api/api-concepts/#watch-bookmarks
   > to get the latest resource version but the python client have it disabled 
for now https://github.com/kubernetes-client/python-base/pull/234/files .
   > That would have solved this for us
   
   Even with `allow_watch_bookmarks` it's not guarantee that the kubernetes api 
would send those bookmark events at all as stated in the link 
   
   > As a client, you can request BOOKMARK events by setting the 
allowWatchBookmarks=true query parameter to a watch request, *but you shouldn't 
assume bookmarks are returned at any specific interval, **nor can clients 
assume that the API server will send any BOOKMARK event even when requested.**
   
   So I think the solution is more in the way of #23521 where the last known 
resource_version is reset to 0 in the event of any exception. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to