sijie commented on issue #5624: [Issue 4601,5215][pulsar-io-jdbc]Support postgresql,sqlserver,mariadb,clickhouse jdbc source sink URL: https://github.com/apache/pulsar/pull/5624#issuecomment-558347015 The approach still has a couple of problems. 1) it only works if you run function worker as part of broker or as separate process. It doesn't work if you run connectors in Kubernetes. 2) it is going to be hard to ensure people place the right jar in the connector directory. especially when you scale up the clusters, how do you ensure people add the right jar in the connector directory? --- I think a better approach is to have different type of connectors with different drivers. - create a parent module of pulsar-io-jdbc - create sub modules. each module inherits the parent module and add different types of drivers. we generate a connector for each module. Thus one connector bundles one driver. Hence we will have `pulsar-io-jdbc-mysql` for mysql driver, `pulsar-io-jdbc-sqlite` for sqlite, and etc.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
