orpiske commented on issue #178:
URL: 
https://github.com/apache/camel-kafka-connector/issues/178#issuecomment-622924221


   > It sounds a good idea to me! In which form would you plan to add that?
   
   Thanks. 
   
   I was thinking about a CLI utility, in a module within the project. The 
usage would look like this:
   
   ```camel-kafka-connector bootstrap --connector sjms2 --target-dir 
/path/to/kafka/connect```
   
   It would have 2 additional arguments:
   
   ```
   --download-host: to allow choosing the host from where to download the files
   --override-property: to allow the user to override a setting
   ```
   
   We already have the list of configurations in the connector config files 
([example](https://github.com/apache/camel-kafka-connector/blob/master/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSinkConnectorConfig.java)).
   
   It's not clear to me yet, how to handle generating the configuration. I 
think there are 2 options:
   
   1. We could simply generate a configuration file with all the settings. 
   2. We could generate a configuration file w/ only the required settings.  
   
   Option 1 is significantly easier, although the configuration file would be 
much larger than our examples. Option 2 is more complicated and we would 
probably need to come up with a mechanism to highlight what is required and 
what is not. 
   
   IMHO, I think we could stick w/ option 1. 
   
   


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