Skip to main content
Version: latest

Configuration Defaults

Overview

When a Fluvio Cluster is created without extra params, either in Kuberentes or locally certain assumptions on limitations are made.

This document outlines the default configurations for a Fluvio Cluster.

Default Configurations

Cluster

ResourceDefault Value
SPUs1

SPU Group

ResourceDefault Value
Number of replicas1
Minimum ID in Group0
Store Size10 GB

SPUs

ResourceDefault Value
SPU ID0
SPU TypeManaged
Public Endpoint's IP Addresslocalhost:30004
Public Endpoint EncryptionPLAINTEXT
Private Endpoint's IP Addressfluvio-spg-main.default.svc.cluster.local:9006
Private Endpoint EncryptionPLAINTEXT
tip

By default SPU communication have no encryption enabled.
It is recommended to enable encryption for production clusters.

Topic

ResourceDefault Value
Compression TypeNot specified.
Partitions1
Replicas1
Segment Size1 GB

Partition

ResourceDefault Value
Replicas0

Overriding Defaults

Cluster

SPUs

Specify the number of SPUs

$ fluvio cluster start --spu 3

SPU Group

Storage Size

Storage size can be specified when starting a Fluvio Cluster.

$ fluvio cluster start --spu-storage-size '50 GB'

Topic

Segment Size

A topic's segment size can be specified when creating a topic.

Specify a segment size using units

$ fluvio topic create foo --segment-size '1 GB'

Specify a segment size using bytes (50 MB)

$ fluvio topic create foo --segment-size '50000000'

Partition

Replicas

A partition's replicas can be specified when creating a topic.

Specify the number of replicas

$ fluvio topic create foo --replicas 3