public static final class StackModel.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StackModel |
build()
Build the stack model
|
StackModel.Builder |
withBlobStoreStrategy(BlobStoreStrategy blobStoreStrategy)
Choose the key value store to use for blobs.
|
StackModel.Builder |
withElasticsearch()
Enable Elastiscearch.
|
StackModel.Builder |
withIpcStrategy(IpcStrategy ipcStrategy)
Type of service used to communicate between Minion/OpenNMS/Sentinel
|
StackModel.Builder |
withJsonStoreStrategy(JsonStoreStrategy jsonStoreStrategy)
Choose the key value store to use for JSON documents.
|
StackModel.Builder |
withKafkaCompressionStrategy(KafkaCompressionStrategy kafkaCompressionStrategy)
Type of compression used with Kafka messages.
|
StackModel.Builder |
withMinion()
Enable one Minion using the default profile.
|
StackModel.Builder |
withMinions(MinionProfile... minions)
Enable many Minions using the given profiles.
|
StackModel.Builder |
withOpenNMS(OpenNMSProfile opennms)
Profile for the OpenNMS container.
|
StackModel.Builder |
withSentinel()
Enable one Sentinel using the default profile.
|
StackModel.Builder |
withSentinels(SentinelProfile... sentinels)
Enable many Sentinels using the given profiles.
|
StackModel.Builder |
withTelemetryProcessing()
Enable the processing of telemetry & flows.
|
StackModel.Builder |
withTimeSeriesStrategy(TimeSeriesStrategy timeSeriesStrategy)
Type of service used to persist time series data.
|
public StackModel.Builder withOpenNMS(OpenNMSProfile opennms)
opennms
- profile to usepublic StackModel.Builder withMinion()
public StackModel.Builder withMinions(MinionProfile... minions)
minions
- profiles to usepublic StackModel.Builder withSentinel()
public StackModel.Builder withSentinels(SentinelProfile... sentinels)
sentinels
- profiles to usepublic StackModel.Builder withElasticsearch()
public StackModel.Builder withIpcStrategy(IpcStrategy ipcStrategy)
ipcStrategy
- JMS vs Kafka, etc...public StackModel.Builder withTimeSeriesStrategy(TimeSeriesStrategy timeSeriesStrategy)
timeSeriesStrategy
- RRD vs Newtspublic StackModel.Builder withKafkaCompressionStrategy(KafkaCompressionStrategy kafkaCompressionStrategy)
kafkaCompressionStrategy
- GZIP, SNAPPY, LZ4, ZSTD, or NONEpublic StackModel.Builder withTelemetryProcessing()
public StackModel.Builder withBlobStoreStrategy(BlobStoreStrategy blobStoreStrategy)
public StackModel.Builder withJsonStoreStrategy(JsonStoreStrategy jsonStoreStrategy)
public StackModel build()
Copyright © 2022. All rights reserved.