@daocloud-proto/mcamel-kafka 0.2.0-670 → 0.2.0-676
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kafka.pb.ts +22 -0
- package/package.json +1 -1
package/kafka.pb.ts
CHANGED
|
@@ -77,6 +77,8 @@ export enum GetKafkaNodeListRespNodeType {
|
|
|
77
77
|
Zookeeper = "Zookeeper",
|
|
78
78
|
Manager = "Manager",
|
|
79
79
|
Exporter = "Exporter",
|
|
80
|
+
Controller = "Controller",
|
|
81
|
+
Broker = "Broker",
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
export type GetKafkaUsersReq = {
|
|
@@ -218,6 +220,24 @@ export type CreateKafkaReq = {
|
|
|
218
220
|
managerLbAddress?: string
|
|
219
221
|
accessWhitelist?: CommonCommon.AccessWhitelist
|
|
220
222
|
listeners?: Listener[]
|
|
223
|
+
controller?: NodePool
|
|
224
|
+
broker?: NodePool
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type NodePoolVolume = {
|
|
228
|
+
id?: number
|
|
229
|
+
class?: string
|
|
230
|
+
size?: string
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type NodePool = {
|
|
234
|
+
replicas?: number
|
|
235
|
+
cpuRequest?: string
|
|
236
|
+
cpuLimit?: string
|
|
237
|
+
memoryRequest?: string
|
|
238
|
+
memoryLimit?: string
|
|
239
|
+
volumes?: NodePoolVolume[]
|
|
240
|
+
affinity?: CommonCommon.Affinity
|
|
221
241
|
}
|
|
222
242
|
|
|
223
243
|
export type ListenerConfigurationBroker = {
|
|
@@ -383,6 +403,8 @@ export type KafkaClusterItemStatus = {
|
|
|
383
403
|
kafkaPodsAreReadyNum?: number
|
|
384
404
|
zookeeperPodsAreReadyNum?: number
|
|
385
405
|
common?: CommonCommon.CommonItemStatus
|
|
406
|
+
brokerPodsAreReadyNum?: number
|
|
407
|
+
controllerPodsAreReadyNum?: number
|
|
386
408
|
}
|
|
387
409
|
|
|
388
410
|
export type KafkaClusterItemMetadata = {
|