@Override
    public int hashCode() {
        return Objects.hash(instanceType, filterDatabaseName(this));
    }
@Test
    void assertHashCodeEqualsForJdbcMode() {
        PipelineContextKey contextKey1 = new PipelineContextKey("logic_db", InstanceType.JDBC);
        PipelineContextKey contextKey2 = new PipelineContextKey("sharding_db", InstanceType.JDBC);
        assertThat(contextKey1.hashCode(), not(contextKey2.hashCode()));
        assertThat(contextKey1, not(contextKey2));
    }