mfvitale commented on PR #17743:
URL: https://github.com/apache/kafka/pull/17743#issuecomment-3371019735

   Another update:
   
   I did other tests and things are more and more weird. All tests done with 
`plugin.path=/kafka/connect` and KC 4.1
   
   My original tests was with this directory structure
   
   /kafka/connect
      |___ debezium-connector-postgres
      |___ debezium-connector-mongodb
      |___ debezium-connector-sqlserver
   
   in this case each connector should be isolated each other (having a 
dedicated class loader). In that case the sharing between connector and SMT not 
works as for KC 4.0
   
   then I tried with
   
   /kafka/connect
      |___ debezium-connectors
                |___ debezium-connector-postgres
                |___ debezium-connector-mongodb
                |___ debezium-connector-sqlserver
   
   So all connector are not isolated and share the same class loader. In this 
case no issue. And I'll say that this is expected.
   
   Then I tried with
   
   /kafka/connect
      |___ debezium-connectors
      |          |___ debezium-connector-postgres
      |          |___ debezium-connector-mongodb
      |___ debezium-connector-sqlserver
   
   where `postgres` and `mongodb` are not isolated (same classloader) and 
`sqlserver` is isolated (different classloader) and in this case it still 
works. I expected this to fail as for the first setup.


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