public final class PulsarStandaloneBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
PulsarStandalone |
build() |
static PulsarStandaloneBuilder |
instance() |
PulsarStandaloneBuilder |
withAdvertisedAddress(String advertisedAddress) |
PulsarStandaloneBuilder |
withBkDir(String bkDir) |
PulsarStandaloneBuilder |
withBkPort(int bkPort) |
PulsarStandaloneBuilder |
withConfig(ServiceConfiguration config) |
PulsarStandaloneBuilder |
withNoBroker(boolean noBroker) |
PulsarStandaloneBuilder |
withNoStreamStorage(boolean noStreamStorage) |
PulsarStandaloneBuilder |
withNumOfBk(int numOfBk) |
PulsarStandaloneBuilder |
withOnlyBroker(boolean onlyBroker) |
PulsarStandaloneBuilder |
withStreamStoragePort(int streamStoragePort) |
PulsarStandaloneBuilder |
withWipeData(boolean wipeData) |
PulsarStandaloneBuilder |
withZkDir(String zkDir) |
PulsarStandaloneBuilder |
withZkPort(int zkPort) |
public static PulsarStandaloneBuilder instance()
public PulsarStandaloneBuilder withConfig(ServiceConfiguration config)
public PulsarStandaloneBuilder withWipeData(boolean wipeData)
public PulsarStandaloneBuilder withNumOfBk(int numOfBk)
public PulsarStandaloneBuilder withZkPort(int zkPort)
public PulsarStandaloneBuilder withBkPort(int bkPort)
public PulsarStandaloneBuilder withZkDir(String zkDir)
public PulsarStandaloneBuilder withBkDir(String bkDir)
public PulsarStandaloneBuilder withNoBroker(boolean noBroker)
public PulsarStandaloneBuilder withOnlyBroker(boolean onlyBroker)
public PulsarStandaloneBuilder withNoStreamStorage(boolean noStreamStorage)
public PulsarStandaloneBuilder withStreamStoragePort(int streamStoragePort)
public PulsarStandaloneBuilder withAdvertisedAddress(String advertisedAddress)
public PulsarStandalone build()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.