-
Notifications
You must be signed in to change notification settings - Fork 0
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
DCC Schema Refresh Fix #1
Open
chrisw-instaclustr
wants to merge
15
commits into
1.5-without-insta-changes
Choose a base branch
from
1.5
base: 1.5-without-insta-changes
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
462db47
schema refreshing
smiklosovic f287be2
removed sleep in reinitializer
smiklosovic 8b4bb41
[release] Stable parent 1.5.0.Final for release
debezium-builder 8007015
[maven-release-plugin] prepare for next development iteration
debezium-builder e39c738
[maven-release-plugin] prepare release v1.5.0.Final
debezium-builder 47e4316
[release] New parent 1.6.0-SNAPSHOT for development
debezium-builder 72f2516
Merge branch 'dd' of github.com:instaclustr/debezium-connector-cassan…
844f4c7
rewritten cdc tracking without schema refreshment
smiklosovic 3ae29c1
fixed bug
smiklosovic 14d9f2b
rewritten to build parallel in-memory schema structure from schema ch…
smiklosovic 5083434
rewritten to build parallel in-memory schema structure from schema ch…
smiklosovic 0999ce9
Fixed up the C* version and made an initial attempt to deal with the …
chrisw-instaclustr ecc11ce
Fixed up the C* version and made an initial attempt to deal with the …
chrisw-instaclustr e876f6c
applied comments in review
smiklosovic 47229ac
Merge branch 'dd2' of github.com:instaclustr/debezium-connector-cassa…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,20 @@ | |
<parent> | ||
<groupId>io.debezium</groupId> | ||
<artifactId>debezium-parent</artifactId> | ||
<version>1.5.0-SNAPSHOT</version> | ||
<version>1.5.0.Final</version> | ||
</parent> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>debezium-connector-cassandra</artifactId> | ||
<name>Debezium Connector for Cassandra</name> | ||
<version>1.5.0-SNAPSHOT</version> | ||
<version>1.5.0.Final</version> | ||
<packaging>jar</packaging> | ||
|
||
<scm> | ||
<connection>scm:git:[email protected]:debezium/debezium-connector-cassandra.git</connection> | ||
<developerConnection>scm:git:[email protected]:debezium/debezium-connector-cassandra.git</developerConnection> | ||
<url>https://github.com/debezium/debezium-connector-cassandra</url> | ||
<tag>HEAD</tag> | ||
<tag>v1.5.0.Final</tag> | ||
</scm> | ||
|
||
<properties> | ||
|
@@ -119,6 +119,7 @@ | |
<dependency> | ||
<groupId>org.apache.cassandra</groupId> | ||
<artifactId>cassandra-all</artifactId> | ||
<version>3.11.4</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>ch.qos.logback</groupId> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
117 changes: 117 additions & 0 deletions
117
src/main/java/io/debezium/connector/cassandra/NoOpSchemaChangeListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
/* | ||
* Copyright Debezium Authors. | ||
* | ||
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 | ||
*/ | ||
package io.debezium.connector.cassandra; | ||
|
||
import com.datastax.driver.core.AggregateMetadata; | ||
import com.datastax.driver.core.Cluster; | ||
import com.datastax.driver.core.FunctionMetadata; | ||
import com.datastax.driver.core.KeyspaceMetadata; | ||
import com.datastax.driver.core.MaterializedViewMetadata; | ||
import com.datastax.driver.core.SchemaChangeListener; | ||
import com.datastax.driver.core.TableMetadata; | ||
import com.datastax.driver.core.UserType; | ||
|
||
public class NoOpSchemaChangeListener implements SchemaChangeListener { | ||
@Override | ||
public void onKeyspaceAdded(final KeyspaceMetadata keyspace) { | ||
|
||
} | ||
|
||
@Override | ||
public void onKeyspaceRemoved(final KeyspaceMetadata keyspace) { | ||
|
||
} | ||
|
||
@Override | ||
public void onKeyspaceChanged(final KeyspaceMetadata current, final KeyspaceMetadata previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onTableAdded(final TableMetadata table) { | ||
|
||
} | ||
|
||
@Override | ||
public void onTableRemoved(final TableMetadata table) { | ||
|
||
} | ||
|
||
@Override | ||
public void onTableChanged(final TableMetadata current, final TableMetadata previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onUserTypeAdded(final UserType type) { | ||
|
||
} | ||
|
||
@Override | ||
public void onUserTypeRemoved(final UserType type) { | ||
|
||
} | ||
|
||
@Override | ||
public void onUserTypeChanged(final UserType current, final UserType previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onFunctionAdded(final FunctionMetadata function) { | ||
|
||
} | ||
|
||
@Override | ||
public void onFunctionRemoved(final FunctionMetadata function) { | ||
|
||
} | ||
|
||
@Override | ||
public void onFunctionChanged(final FunctionMetadata current, final FunctionMetadata previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onAggregateAdded(final AggregateMetadata aggregate) { | ||
|
||
} | ||
|
||
@Override | ||
public void onAggregateRemoved(final AggregateMetadata aggregate) { | ||
|
||
} | ||
|
||
@Override | ||
public void onAggregateChanged(final AggregateMetadata current, final AggregateMetadata previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onMaterializedViewAdded(final MaterializedViewMetadata view) { | ||
|
||
} | ||
|
||
@Override | ||
public void onMaterializedViewRemoved(final MaterializedViewMetadata view) { | ||
|
||
} | ||
|
||
@Override | ||
public void onMaterializedViewChanged(final MaterializedViewMetadata current, final MaterializedViewMetadata previous) { | ||
|
||
} | ||
|
||
@Override | ||
public void onRegister(final Cluster cluster) { | ||
|
||
} | ||
|
||
@Override | ||
public void onUnregister(final Cluster cluster) { | ||
|
||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not sure why these
.Final
s are showing up as diff - they are the same on the target branch.