Interface TopicFactory

All Superinterfaces:
AutoCloseable, Closeable

public interface TopicFactory extends Closeable
Pluggable TopicFactory to create topic with specific behavior in broker. Note: This API and feature is in experimental phase.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends Topic>
    T
    create(String topic, org.apache.bookkeeper.mledger.ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz)
     

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • create

      <T extends Topic> T create(String topic, org.apache.bookkeeper.mledger.ManagedLedger ledger, BrokerService brokerService, Class<T> topicClazz)