类 ThreadRuntimeFactory

java.lang.Object
org.apache.pulsar.functions.runtime.thread.ThreadRuntimeFactory
所有已实现的接口:
AutoCloseable, RuntimeFactory

public class ThreadRuntimeFactory extends Object implements RuntimeFactory
Thread based function container factory implementation.
  • 构造器详细资料

    • ThreadRuntimeFactory

      public ThreadRuntimeFactory(String threadGroupName, String pulsarServiceUrl, String stateStorageImplClass, String storageServiceUrl, org.apache.pulsar.functions.instance.AuthenticationConfig authConfig, org.apache.pulsar.functions.secretsprovider.SecretsProvider secretsProvider, org.apache.pulsar.functions.instance.stats.FunctionCollectorRegistry collectorRegistry, String narExtractionDirectory, ClassLoader rootClassLoader, boolean exposePulsarAdminClientEnabled, String pulsarWebServiceUrl) throws Exception
      This constructor is used by other runtimes (e.g. ProcessRuntime and KubernetesRuntime) that rely on ThreadRuntime to actually run an instance of the function. When used by other runtimes, the arguments such as secretsProvider and rootClassLoader will be provided.
      抛出:
      Exception
  • 方法详细资料