philipnee commented on PR #15000:
URL: https://github.com/apache/kafka/pull/15000#issuecomment-1875876548

   hi @lucasbru - i think we might need to loosen the thread access restriction 
for the interceptor because i think we also need to trigger interceptors during 
autocommit.  There are 2 ways to achieve this:
   1. pass an event to the main thread to execute the interceptor on poll: the 
interceptor might never get triggered
   2. loosen the thread access restriction - I think we might need to do that 
to guarantee the interceptors can always be invoked
   
   #2 is a bit annoying because it against the contract as you mentioned in one 
of the comment.  What do you think?


-- 
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