Reputation: 45
Currently i have configured single query in Kafka JDBC source connector property file and this runs in standalone mode. How do i configure multiple queries in single property file with a different name assigned to each query and store it under single topics.
Is this feasible or i need to build multiple property file for each query with same topic name and add those property filename in the execution script separated by comma.
Upvotes: 0
Views: 466
Reputation: 191874
You can only have one query per connector properties
If you ran Connect in Distributed mode, you'd post individual configurations to the running REST API, still only one query per connector.
For example
connect-distributed connect-distributed.properties
curl -X POST localhost:8083/connectors [email protected]
curl -X POST localhost:8083/connectors [email protected]
Otherwise, Standalone mode takes space separated property files, not comma separated
Upvotes: 1