Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tighten constraints on TopicWiseConfigs Currently if any config option starts with `topic.` prefix, the connector will attempt to match it against regular expression for TopicWiseConfigs. If it fails then whole connector fails to start. This is a problem when launching on Confluent Cloud which adds for example `topic.creation.default.max.message.bytes` config. It mistakenly gets through the first check because it starts with `topic.` and then trips up on regular expression. It seems there could be many more configs like this that pertain to Kafka topic but are not this connectors TopicWiseConfigs. Adding suffix check should be sufficient and it should not break existing configurations as long as those adhered to the existing documentation. * Log warning when returning null TableMetadata If user sets connector up in schemaless mode and forgets to create the table, the connector tasks will fail with NullPointerException. Added warning should make it more obvious as to what is the issue. I am not adding throw here just in case there exists a situation where table creation could lag behind. Connector should continue working normally after the table is created.
- Loading branch information