Class CassandraConnectorTask


  • public class CassandraConnectorTask
    extends Object
    A task that reads Cassandra commit log in CDC directory and generate corresponding data change events which will be emitted to Kafka. If the table has not been bootstrapped, this task will also take a snapshot of existing data in the database and convert each row into a change event as well.
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • METRIC_REGISTRY_INSTANCE

        public static final com.codahale.metrics.MetricRegistry METRIC_REGISTRY_INSTANCE
      • httpServer

        private org.eclipse.jetty.server.Server httpServer
      • jmxReporter

        private com.codahale.metrics.jmx.JmxReporter jmxReporter
    • Method Detail

      • initHttpServer

        private void initHttpServer()
      • initProcessorGroup

        private void initProcessorGroup()
      • initJmxReporter

        private void initJmxReporter​(String domain)
      • registerHealthCheck

        private com.codahale.metrics.health.HealthCheckRegistry registerHealthCheck()