@Override
    public List<Map<String, String>> taskConfigs(int maxTasks) {
        ArrayList<Map<String, String>> configs = new ArrayList<>();
        for (int i = 0; i < maxTasks; i++) {
            Map<String, String> props = new HashMap<>(config);
            props.put(VerifiableSourceTask.ID_CONFIG, String.valueOf(i));
            configs.add(props);
        }
        return configs;
    }
A connector primarily intended for system tests.
@see VerifiableSourceTask
connect/test-plugins/src/main/java/org/apache/kafka/connect/tools/VerifiableSourceConnector.java