bugfix/tweaked the connector match Regular expression to support star

This commit is contained in:
hongwei 2020-07-13 15:37:12 +02:00
parent 3818424681
commit 1e7258ecdf

View File

@ -239,9 +239,9 @@ object Helper{
/**
* Used for version extraction from props string
*/
val matchKafkaVersion = "kafka_v([0-9a-zA-Z_]+)".r
val matchAnyKafka = "^kafka.*$".r
val matchAnyStoredProcedure = "^stored_procedure.*$".r
val matchKafkaVersion = "kafka_v([0-9a-zA-Z_]+)|^star$".r
val matchAnyKafka = "^(kafka.*|star)$|^star$".r
val matchAnyStoredProcedure = "^stored_procedure.*$|^star$".r
/**
* change the TimeZone to the current TimeZOne