DocumentationReferenceV1Alpha1

API Reference

Resources Types

KasprApp

A program that runs components of a distributed stream processing application.

FieldTypeDescriptionRequired
apiVersionstring

kaspr.io/v1alpha1

Yes
kindstring

KasprApp

Yes
metadataObjectMeta

Metadata that all persisted resources must have.

Yes

KasprAppSpec

Specification of the desired settings of the application.

FieldTypeDescriptionRequired
versionstring

The kaspr version. Defaults to the latest.

No
replicasinteger

The number of desired instances. Defaults to 1.

No
imagestring

The container image to use. Defaults to the corresponding image of the version configuration.

No
bootstrapServersstring

Bootstrap server names to connect to. This should be given as a comma separated list of <hostname>:<port> pairs.

Yes
tlsTLS

TLS configuration. Provide an empty entry {} to enable TLS or exclude the field to disable TLS.

No
authenticationKafkaAuthentication

Authentication configuration for Kafka.

No
resourcesResourceRequirements

Compute Resources required by each instance on the application.

No
storageStorageRequirements

Disk storage required by each instance of the application.

Yes

KafkaAuthentication

Kafka authentication configuration.

FieldTypeDescriptionRequired
typestring

The type of authentication to use. Must be one of scram-sha-256, scram-sha-512, or plain

No
usernamestring

Username used for authentication.

No
passwordSecretPasswordSecret

Details of the kubernetes secret where the authentication password is stored.

No

PasswordSecret

Kubernetes secret.

FieldTypeDescriptionRequired
secretNamestring

The name of the Kubernetes secret resource containting the password.

Yes
passwordKeystring

The name of the key in the Secret under which the password is stored.

Yes

StorageRequirements

Disk storage configuration (disk).

FieldTypeDescriptionRequired
typestring

Storage type, must be ephemeral or persistent-claim

Yes
classstring

The storage class to use for dynamic volume allocation.

Yes
deleteClaimboolean

Specifies if the persistent volume claim has to be deleted when the app is undeployed.

No