Skip to content

Commit

Permalink
[hotfix][connectors/kafka] Correctly check required configs in KafkaS…
Browse files Browse the repository at this point in the history
…ourceBuilder
  • Loading branch information
manner authored and AHeise committed Mar 10, 2021
1 parent 19bc493 commit eee76cd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,8 @@ private void sanityCheck() {
// Check required configs.
for (String requiredConfig : REQUIRED_CONFIGS) {
checkNotNull(
props.getProperty(
requiredConfig,
String.format(
"Property %s is required but not provided", requiredConfig)));
props.getProperty(requiredConfig),
String.format("Property %s is required but not provided", requiredConfig));
}
// Check required settings.
checkNotNull(
Expand Down

0 comments on commit eee76cd

Please sign in to comment.