-
Notifications
You must be signed in to change notification settings - Fork 3
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
Develop (0.1.0) #94
Develop (0.1.0) #94
Conversation
* Cql Session Connection Pool Test
api("com.datastax.oss:java-driver-core:${datastaxJavaDriverVersion}") | ||
api("com.datastax.oss:java-driver-query-builder:${datastaxJavaDriverVersion}") | ||
api("com.datastax.oss:java-driver-mapper-runtime:${datastaxJavaDriverVersion}") | ||
implementation("com.datastax.oss:java-driver-core:${datastaxJavaDriverVersion}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Core 영역에서만 driver 관련 로직 작성하도록 설정 변경했습니다.
@@ -59,30 +45,14 @@ public CqlSession makeSession(ClusterConnection clusterConnection, String keyspa | |||
|
|||
builder.withConfigLoader( | |||
DriverConfigLoader.programmaticBuilder() | |||
// .withDuration(DefaultDriverOption.HEARTBEAT_INTERVAL, Duration.ofSeconds(30)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HEARTBEAT 설정에 대해서 확인하고 추후 System Config 로 설정할 수 있게 할 예정 입니다.
|
||
return Version.parse(row.getString("release_version")); | ||
return node.getCassandraVersion(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
논의할 것처럼 Driver 에서 제공해주는 버전처리로 일원화 했습니다.
@@ -27,4 +29,11 @@ protected CqlSession makeSession() { | |||
.withLocalDatacenter("dc1") | |||
.build(); | |||
} | |||
protected CqlSession makeSession(String keyspaceName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test 용 컨피그 생성한 다음 해당 설정을 cluster 로직 태워서 생성할 수 있도록 변경할 예정 입니다.
// implementation("com.datastax.oss:java-driver-core:${datastaxJavaDriverVersion}") | ||
// implementation("com.datastax.oss:java-driver-query-builder:${datastaxJavaDriverVersion}") | ||
// implementation("com.datastax.oss:java-driver-mapper-runtime:${datastaxJavaDriverVersion}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
제거해도 좋을거 같네요
* Update README (License) * Auto Assign Code Reviewers
전에 의논했던거랑 반대로, 이런 형태의 플젝의 경우 main, develop 두 개 분리해서 이점이 크게 없는거 같네요. |
return CqlSession.builder() | ||
.addContactPoint(new InetSocketAddress("127.0.0.1", 29042)) | ||
.withLocalDatacenter("dc1") | ||
.withKeyspace(keyspaceName) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.withKeyspace
Cassandra 4.x 미만에서 호환 안되었던걸로 기억해요
네. 저도 이거에 대해서 논의하고 싶었습니다. develop 으로 가는거 말고...
2번의 경우 오버스팩인거 같아서 1번으로 가는게 좋아보이긴 합니다. 이번꺼까지만 하고, 다음 릴리즈부터는 1번으로 갑시다! |
저도 1번이 좋은거 같습니다. |
* Refactoring Code Smell * ClusterManager CLUSTER public -> private
* Cluster Version Evaluator * Prevent registration of unsupported Cassandra versions in the cluster
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) to 4.1.4 and updates ancestor dependency [node-sass](https://github.com/sass/node-sass). These dependencies need to be updated together. Updates `tough-cookie` from 2.5.0 to 4.1.4 - [Release notes](https://github.com/salesforce/tough-cookie/releases) - [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md) - [Commits](salesforce/tough-cookie@v2.5.0...v4.1.4) Updates `node-sass` from 7.0.3 to 9.0.0 - [Release notes](https://github.com/sass/node-sass/releases) - [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md) - [Commits](sass/node-sass@v7.0.3...v9.0.0) --- updated-dependencies: - dependency-name: tough-cookie dependency-type: indirect - dependency-name: node-sass dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Refactor Code Smell * Refactor Code Smell
* Build Tool Npm to Yarn * Build Tool Npm to Yarn * Build Tool Npm to Yarn
Quality Gate passedIssues Measures |
No description provided.