ning2008wisc commented on pull request #9224:
URL: https://github.com/apache/kafka/pull/9224#issuecomment-738115781


   https://github.com/apache/kafka/pull/9224#discussion_r535179359
   
   I think the `try catch` block is needed for several Exception.
   
   ```
   
/kafka/connect/mirror/src/test/java/org/apache/kafka/connect/mirror/integration/MirrorConnectorsIntegrationSSLTest.java:41:
 error: unreported exception IOException; must be caught or declared to be 
thrown
           sslConfig = TestSslUtils.createSslConfig(false, true, Mode.SERVER, 
TestUtils.tempFile(), "testCert");
   
   ```
   
   ```
   
/kafka/connect/mirror/src/test/java/org/apache/kafka/connect/mirror/integration/MirrorConnectorsIntegrationSSLTest.java:42:
 error: unreported exception GeneralSecurityException; must be caught or 
declared to be thrown
               sslConfig = TestSslUtils.createSslConfig(false, true, 
Mode.SERVER, TestUtils.tempFile(), "testCert");
   ```


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

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


Reply via email to