Interface ExternalContext

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
DataStreamSinkExternalContext<T>, DataStreamSinkV2ExternalContext<T>, DataStreamSourceExternalContext<T>, TableSinkExternalContext, TableSourceExternalContext

@Experimental public interface ExternalContext extends AutoCloseable
External context for interacting with external system in testing framework.

An external context is responsible for provide instances and information related to an external system, such as creating instance of Source and Sink, generating test data, and creating data readers or writers for validating the correctness of test data.

  • Method Summary

    Modifier and Type
    Method
    Description
    Get URL of connector JARs that will be attached to job graphs when submitting Flink jobs.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • getConnectorJarPaths

      List<URL> getConnectorJarPaths()
      Get URL of connector JARs that will be attached to job graphs when submitting Flink jobs.