Class MySqlConnectorTask.ServerIdGenerator

java.lang.Object
io.debezium.connector.mysql.legacy.MySqlConnectorTask.ServerIdGenerator
Enclosing class:
MySqlConnectorTask

public class MySqlConnectorTask.ServerIdGenerator extends Object
  • Field Details

    • configuredServerId

      private final long configuredServerId
    • offset

      private final long offset
    • counter

      private int counter
  • Constructor Details

    • ServerIdGenerator

      private ServerIdGenerator(long configuredServerId, long configuredOffset)
  • Method Details

    • getNextServerId

      public long getNextServerId()
    • getConfiguredServerId

      public long getConfiguredServerId()