m1a2st commented on PR #17440:
URL: https://github.com/apache/kafka/pull/17440#issuecomment-2495404068

   Hello @lianetm, Thanks for your review.
   > We were propagating metadata errors via ErrorEvent thinking that it was 
only meant to be consumed from poll (which was a wrong assumption). If, with 
this PR, we introduce a mechanism to propagate it via the api events, I wonder 
if we should consider removing the redundant ErrorEvent for this case? (without 
ErrorEvent, poll would still fail as expected, because the 
CheckAndUpdatePositions would fail with the auth error)
   
   Based on this issue, the most straightforward solution I can think of at the 
moment is to add a new attribute in the event to determine whether the method 
call requires the use of the completedFuture for transmission. I have already 
drafted a version for this approach. WDYT?


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to