Package org.apache.pulsar
Class PulsarStandaloneBuilder
- java.lang.Object
-
- org.apache.pulsar.PulsarStandaloneBuilder
-
public final class PulsarStandaloneBuilder extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PulsarStandalonebuild()static PulsarStandaloneBuilderinstance()PulsarStandaloneBuilderwithAdvertisedAddress(java.lang.String advertisedAddress)PulsarStandaloneBuilderwithBkDir(java.lang.String bkDir)PulsarStandaloneBuilderwithBkPort(int bkPort)PulsarStandaloneBuilderwithConfig(org.apache.pulsar.broker.ServiceConfiguration config)PulsarStandaloneBuilderwithNoBroker(boolean noBroker)PulsarStandaloneBuilderwithNoStreamStorage(boolean noStreamStorage)PulsarStandaloneBuilderwithNumOfBk(int numOfBk)PulsarStandaloneBuilderwithOnlyBroker(boolean onlyBroker)PulsarStandaloneBuilderwithStreamStoragePort(int streamStoragePort)PulsarStandaloneBuilderwithWipeData(boolean wipeData)PulsarStandaloneBuilderwithZkDir(java.lang.String zkDir)PulsarStandaloneBuilderwithZkPort(int zkPort)
-
-
-
Method Detail
-
instance
public static PulsarStandaloneBuilder instance()
-
withConfig
public PulsarStandaloneBuilder withConfig(org.apache.pulsar.broker.ServiceConfiguration config)
-
withWipeData
public PulsarStandaloneBuilder withWipeData(boolean wipeData)
-
withNumOfBk
public PulsarStandaloneBuilder withNumOfBk(int numOfBk)
-
withZkPort
public PulsarStandaloneBuilder withZkPort(int zkPort)
-
withBkPort
public PulsarStandaloneBuilder withBkPort(int bkPort)
-
withZkDir
public PulsarStandaloneBuilder withZkDir(java.lang.String zkDir)
-
withBkDir
public PulsarStandaloneBuilder withBkDir(java.lang.String bkDir)
-
withNoBroker
public PulsarStandaloneBuilder withNoBroker(boolean noBroker)
-
withOnlyBroker
public PulsarStandaloneBuilder withOnlyBroker(boolean onlyBroker)
-
withNoStreamStorage
public PulsarStandaloneBuilder withNoStreamStorage(boolean noStreamStorage)
-
withStreamStoragePort
public PulsarStandaloneBuilder withStreamStoragePort(int streamStoragePort)
-
withAdvertisedAddress
public PulsarStandaloneBuilder withAdvertisedAddress(java.lang.String advertisedAddress)
-
build
public PulsarStandalone build()
-
-