KafkaPluginDescriptor.json
1.94 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"schema": {
"title": "Kafka Plugin Configuration",
"type": "object",
"properties": {
"bootstrapServers": {
"title": "Bootstrap Servers",
"type": "string",
"default": "localhost:9092"
},
"retries": {
"title": "Automatically Retry Times If Fails",
"type": "integer",
"default": 0
},
"batchSize": {
"title": "Producer Batch Size On Client",
"type": "integer",
"default": 16384
},
"linger": {
"title": "Time To Buffer Locally Before Sending To Kafka Broker (in ms)",
"type": "integer",
"default": 0
},
"bufferMemory": {
"title": "Buffer Max Size On Client",
"type": "integer",
"default": 33554432
},
"acks": {
"title": "Minimum Number Of Replicas That Must Acknowledge A Write (-1 for 'all')",
"type": "integer",
"default": -1
},
"keySerializer": {
"title": "Key Serializer",
"type": "string",
"default": "org.apache.kafka.common.serialization.StringSerializer"
},
"valueSerializer": {
"title": "Value Serializer",
"type": "string",
"default": "org.apache.kafka.common.serialization.StringSerializer"
},
"otherProperties": {
"title": "Other Kafka properties",
"type": "array",
"items": {
"title": "Kafka property",
"type": "object",
"properties": {
"key": {
"title": "Key",
"type": "string"
},
"value": {
"title": "Value",
"type": "string"
}
}
}
}
},
"required": [
"bootstrapServers"
]
},
"form": [
"bootstrapServers",
"retries",
"batchSize",
"linger",
"bufferMemory",
"acks",
"keySerializer",
"valueSerializer",
"otherProperties"
]
}