blob: 6787f228ebbeef3e4eb709dd97c172a6b9ef5895 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: kafkatopics.streamingmicroservicesplatform.github.com
spec:
group: streamingmicroservicesplatform.github.com
version: v1
scope: Namespaced
names:
plural: kafkatopics
singular: kafkatopic
kind: KafkaTopic
shortNames:
- topic
validation:
openAPIV3Schema:
properties:
spec:
properties:
name:
type: string
pattern: '^([a-z0-9_]+|[a-z0-9\.-]+)$'
partitions:
type: integer
minimum: 1
maximum: 10
replication:
type: string
enum:
# the minimum that the current cluster can provide availability for during normal operations
- min
# current cluster's recommended replication for production data
- prod
format:
type: string
enum:
- blob
- json
- msgpack
- protobuf
schema:
type: string
|