Class MssqlCdcSourceValidator

java.lang.Object
org.gridgain.internal.cdc.source.mssql.MssqlCdcSourceValidator
All Implemented Interfaces:
org.gridgain.internal.cdc.api.source.CdcSourceValidator

public class MssqlCdcSourceValidator extends Object implements org.gridgain.internal.cdc.api.source.CdcSourceValidator
Validates the configuration of an MS SQL Server CDC source.

Checks that the connection and credential parameters are present and that a per-table captureInstance parameter names a table of the source. Live checks (reachability, CDC enabled on the database and tables, capture-instance existence) are deferred to runtime: a wrong host, database or table shows up when the replication starts. The validator runs for cdc source status, not when a source is created or updated, so the source repeats the captureInstance check when a replication starts.

  • Constructor Details

    • MssqlCdcSourceValidator

      public MssqlCdcSourceValidator()
  • Method Details

    • validate

      public List<org.gridgain.internal.cdc.api.Violation> validate(org.gridgain.internal.cdc.api.source.SourceDefinition definition)
      Specified by:
      validate in interface org.gridgain.internal.cdc.api.source.CdcSourceValidator