Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉Source Clickhouse: added ssl support and "strict-encrypt" connector #7127

Merged
merged 10 commits into from
Oct 25, 2021
Prev Previous commit
Next Next commit
Updated checkstyle
  • Loading branch information
etsybaev committed Oct 18, 2021
commit a39308ffa204b408ab657297d139124c78587d68
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public ClickHouseSource() {
}

@Override
public JsonNode toDatabaseConfig(JsonNode config) {
public JsonNode toDatabaseConfig(final JsonNode config) {
final StringBuilder jdbcUrl = new StringBuilder(String.format("jdbc:clickhouse://%s:%s/%s",
config.get("host").asText(),
config.get("port").asText(),
Expand All @@ -103,7 +103,7 @@ public Set<String> getExcludedInternalNameSpaces() {
return Collections.singleton("system");
}

public static void main(String[] args) throws Exception {
public static void main(final String[] args) throws Exception {
final Source source = ClickHouseSource.getWrappedSource();
LOGGER.info("starting source: {}", ClickHouseSource.class);
new IntegrationRunner(source).run(args);
Expand Down