shibd opened a new pull request, #20795: URL: https://github.com/apache/pulsar/pull/20795
### Motivation When Kafka source poll message exception, it will throw it to the function framework, and not trigger the restart function instance. After #20424, it just closes the Kafka source connector poll thread, and not will trigger restart instance. ### Modifications - When Kafka consumer gets an exception, call `notifyError` to notify this exception, and when the function framework next calls `consumer.read` method, it will trigger instance restart. ### Verifying this change - Change `closeConnectorWhenUnexpectedExceptionThrownTest` to cover it. ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> ### Matching PR in forked repository -- 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]
