Class PulsarConnectorCache

java.lang.Object
org.apache.pulsar.sql.presto.PulsarConnectorCache

public class PulsarConnectorCache extends Object
Implementation of a cache for the Pulsar connector.
  • Method Details

    • getConnectorCache

      public static PulsarConnectorCache getConnectorCache(PulsarConnectorConfig pulsarConnectorConfig) throws Exception
      Throws:
      Exception
    • getManagedLedgerConfig

      public org.apache.bookkeeper.mledger.ManagedLedgerConfig getManagedLedgerConfig(org.apache.pulsar.common.naming.NamespaceName namespaceName, org.apache.pulsar.common.policies.data.OffloadPoliciesImpl offloadPolicies, PulsarConnectorConfig pulsarConnectorConfig)
    • getManagedLedgerFactory

      public org.apache.bookkeeper.mledger.ManagedLedgerFactory getManagedLedgerFactory()
    • getStatsProvider

      public org.apache.bookkeeper.stats.StatsProvider getStatsProvider()
    • shutdown

      public static void shutdown() throws Exception
      Throws:
      Exception