Class GridgoConnectorSource

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.streaming.api.functions.source.SourceFunction<io.gridgo.framework.support.Message>

    public class GridgoConnectorSource
    extends java.lang.Object
    implements org.apache.flink.streaming.api.functions.source.SourceFunction<io.gridgo.framework.support.Message>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.functions.source.SourceFunction

        org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<T extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      GridgoConnectorSource​(java.lang.String endpoint)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      void run​(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<io.gridgo.framework.support.Message> ctx)  
      • Methods inherited from class java.lang.Object

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

      • GridgoConnectorSource

        public GridgoConnectorSource​(java.lang.String endpoint)
    • Method Detail

      • run

        public void run​(org.apache.flink.streaming.api.functions.source.SourceFunction.SourceContext<io.gridgo.framework.support.Message> ctx)
                 throws java.lang.Exception
        Specified by:
        run in interface org.apache.flink.streaming.api.functions.source.SourceFunction<io.gridgo.framework.support.Message>
        Throws:
        java.lang.Exception
      • cancel

        public void cancel()
        Specified by:
        cancel in interface org.apache.flink.streaming.api.functions.source.SourceFunction<io.gridgo.framework.support.Message>