Project: springxd
Issue XD-2756: Large number of required options in jdbc sink definition
I'd like to use the following command to define a stream in our Spring XD for PivotalCF test environment: {code} stream create --name test --definition "http --port=9999 | jdbc --username=spring-xd --password=spring-xd --driverClassName=org.postgresql.Driver --url=jdbc:postgresql://1.2.3.4:5432/spring-xd" {code} I have to add the following options to the definition to make it work (otherwise I get exceptions and a failed deploy): {code} -validationQuery='' --validatorClassName='#{null}' --connectionProperties='' --initSQL='' --jdbcInterceptors='' --initializerScript='' {code} Given that they're empty anyway it seems like some or all of these should not be necessary. _Notes_ * The validatorClassName cannot be '' like the others, it needs the null. * Without initSQL='' stream creation fails because it can't find init_db.sql (a file I don't have in my environment), even though it won't be run anyway.
Story points: 5