Class GridGainSourceTask

java.lang.Object
org.apache.kafka.connect.source.SourceTask
org.gridgain.kafka.source.GridGainSourceTask
All Implemented Interfaces:
org.apache.kafka.connect.connector.Task

public class GridGainSourceTask extends org.apache.kafka.connect.source.SourceTask
Task that loads records from GridGain tables and pushes them to Kafka.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.kafka.connect.source.SourceTask

    org.apache.kafka.connect.source.SourceTask.TransactionBoundary
  • Field Summary

    Fields inherited from class org.apache.kafka.connect.source.SourceTask

    context, TRANSACTION_BOUNDARY_CONFIG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable List<org.apache.kafka.connect.source.SourceRecord>
     
    void
     
    void
     
     

    Methods inherited from class org.apache.kafka.connect.source.SourceTask

    commit, commitRecord, commitRecord, initialize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GridGainSourceTask

      public GridGainSourceTask()
  • Method Details

    • version

      public String version()
    • start

      public void start(Map<String,String> map)
      Specified by:
      start in interface org.apache.kafka.connect.connector.Task
      Specified by:
      start in class org.apache.kafka.connect.source.SourceTask
    • poll

      @Nullable public @Nullable List<org.apache.kafka.connect.source.SourceRecord> poll() throws InterruptedException
      Specified by:
      poll in class org.apache.kafka.connect.source.SourceTask
      Throws:
      InterruptedException
    • stop

      public void stop()
      Specified by:
      stop in interface org.apache.kafka.connect.connector.Task
      Specified by:
      stop in class org.apache.kafka.connect.source.SourceTask