|
610 | 610 | "description": "Kafka Streams config.", |
611 | 611 | "properties": { |
612 | 612 | "bootstrapServers": { |
| 613 | + "default": "${config.kafka_brokers}", |
613 | 614 | "description": "Brokers", |
614 | 615 | "title": "Bootstrapservers", |
615 | 616 | "type": "string" |
616 | 617 | }, |
617 | 618 | "labeledOutputTopics": { |
618 | | - "additionalProperties": { |
619 | | - "type": "string" |
620 | | - }, |
| 619 | + "anyOf": [ |
| 620 | + { |
| 621 | + "additionalProperties": { |
| 622 | + "type": "string" |
| 623 | + }, |
| 624 | + "type": "object" |
| 625 | + }, |
| 626 | + { |
| 627 | + "type": "null" |
| 628 | + } |
| 629 | + ], |
621 | 630 | "default": {}, |
622 | 631 | "description": "Extra output topics", |
623 | | - "title": "Labeledoutputtopics", |
624 | | - "type": "object" |
| 632 | + "title": "Labeledoutputtopics" |
625 | 633 | }, |
626 | 634 | "outputTopic": { |
627 | 635 | "anyOf": [ |
|
649 | 657 | "title": "Schema Registry Url" |
650 | 658 | } |
651 | 659 | }, |
652 | | - "required": [ |
653 | | - "bootstrapServers" |
654 | | - ], |
655 | 660 | "title": "KafkaConfig", |
656 | 661 | "type": "object" |
657 | 662 | }, |
|
2032 | 2037 | }, |
2033 | 2038 | "kafka": { |
2034 | 2039 | "$ref": "#/$defs/ProducerConfig", |
| 2040 | + "default": { |
| 2041 | + "bootstrapServers": "${config.kafka_brokers}", |
| 2042 | + "labeledOutputTopics": null, |
| 2043 | + "outputTopic": null, |
| 2044 | + "schemaRegistryUrl": null |
| 2045 | + }, |
2035 | 2046 | "description": "Kafka Streams settings" |
2036 | 2047 | }, |
2037 | 2048 | "livenessProbe": { |
|
2273 | 2284 | } |
2274 | 2285 | }, |
2275 | 2286 | "required": [ |
2276 | | - "image", |
2277 | | - "kafka" |
| 2287 | + "image" |
2278 | 2288 | ], |
2279 | 2289 | "title": "ProducerAppValues", |
2280 | 2290 | "type": "object" |
|
2284 | 2294 | "description": "Kafka Streams settings specific to Producer.", |
2285 | 2295 | "properties": { |
2286 | 2296 | "bootstrapServers": { |
| 2297 | + "default": "${config.kafka_brokers}", |
2287 | 2298 | "description": "Brokers", |
2288 | 2299 | "title": "Bootstrapservers", |
2289 | 2300 | "type": "string" |
2290 | 2301 | }, |
2291 | 2302 | "labeledOutputTopics": { |
2292 | | - "additionalProperties": { |
2293 | | - "type": "string" |
2294 | | - }, |
| 2303 | + "anyOf": [ |
| 2304 | + { |
| 2305 | + "additionalProperties": { |
| 2306 | + "type": "string" |
| 2307 | + }, |
| 2308 | + "type": "object" |
| 2309 | + }, |
| 2310 | + { |
| 2311 | + "type": "null" |
| 2312 | + } |
| 2313 | + ], |
2295 | 2314 | "default": {}, |
2296 | 2315 | "description": "Extra output topics", |
2297 | | - "title": "Labeledoutputtopics", |
2298 | | - "type": "object" |
| 2316 | + "title": "Labeledoutputtopics" |
2299 | 2317 | }, |
2300 | 2318 | "outputTopic": { |
2301 | 2319 | "anyOf": [ |
|
2323 | 2341 | "title": "Schema Registry Url" |
2324 | 2342 | } |
2325 | 2343 | }, |
2326 | | - "required": [ |
2327 | | - "bootstrapServers" |
2328 | | - ], |
2329 | 2344 | "title": "ProducerConfig", |
2330 | 2345 | "type": "object" |
2331 | 2346 | }, |
|
3206 | 3221 | }, |
3207 | 3222 | "kafka": { |
3208 | 3223 | "$ref": "#/$defs/kpops__components__streams_bootstrap__streams__model__StreamsConfig", |
| 3224 | + "default": { |
| 3225 | + "applicationId": null, |
| 3226 | + "bootstrapServers": "${config.kafka_brokers}", |
| 3227 | + "config": null, |
| 3228 | + "deleteOutput": null, |
| 3229 | + "errorTopic": null, |
| 3230 | + "inputPattern": null, |
| 3231 | + "inputTopics": null, |
| 3232 | + "labeledInputPatterns": null, |
| 3233 | + "labeledInputTopics": null, |
| 3234 | + "labeledOutputTopics": null, |
| 3235 | + "outputTopic": null, |
| 3236 | + "schemaRegistryUrl": null |
| 3237 | + }, |
3209 | 3238 | "description": "streams-bootstrap kafka section" |
3210 | 3239 | }, |
3211 | 3240 | "livenessProbe": { |
|
3426 | 3455 | } |
3427 | 3456 | }, |
3428 | 3457 | "required": [ |
3429 | | - "image", |
3430 | | - "kafka" |
| 3458 | + "image" |
3431 | 3459 | ], |
3432 | 3460 | "title": "StreamsAppValues", |
3433 | 3461 | "type": "object" |
|
4450 | 4478 | "title": "Unique application ID" |
4451 | 4479 | }, |
4452 | 4480 | "bootstrapServers": { |
| 4481 | + "default": "${config.kafka_brokers}", |
4453 | 4482 | "description": "Brokers", |
4454 | 4483 | "title": "Bootstrapservers", |
4455 | 4484 | "type": "string" |
4456 | 4485 | }, |
4457 | 4486 | "config": { |
| 4487 | + "anyOf": [ |
| 4488 | + { |
| 4489 | + "type": "object" |
| 4490 | + }, |
| 4491 | + { |
| 4492 | + "type": "null" |
| 4493 | + } |
| 4494 | + ], |
4458 | 4495 | "default": {}, |
4459 | 4496 | "description": "Configuration", |
4460 | | - "title": "Config", |
4461 | | - "type": "object" |
| 4497 | + "title": "Config" |
4462 | 4498 | }, |
4463 | 4499 | "deleteOutput": { |
4464 | 4500 | "anyOf": [ |
|
4499 | 4535 | "title": "Inputpattern" |
4500 | 4536 | }, |
4501 | 4537 | "inputTopics": { |
| 4538 | + "anyOf": [ |
| 4539 | + { |
| 4540 | + "items": { |
| 4541 | + "type": "string" |
| 4542 | + }, |
| 4543 | + "type": "array" |
| 4544 | + }, |
| 4545 | + { |
| 4546 | + "type": "null" |
| 4547 | + } |
| 4548 | + ], |
4502 | 4549 | "default": [], |
4503 | 4550 | "description": "Input topics", |
4504 | | - "items": { |
4505 | | - "type": "string" |
4506 | | - }, |
4507 | | - "title": "Inputtopics", |
4508 | | - "type": "array" |
| 4551 | + "title": "Inputtopics" |
4509 | 4552 | }, |
4510 | 4553 | "labeledInputPatterns": { |
4511 | | - "additionalProperties": { |
4512 | | - "type": "string" |
4513 | | - }, |
| 4554 | + "anyOf": [ |
| 4555 | + { |
| 4556 | + "additionalProperties": { |
| 4557 | + "type": "string" |
| 4558 | + }, |
| 4559 | + "type": "object" |
| 4560 | + }, |
| 4561 | + { |
| 4562 | + "type": "null" |
| 4563 | + } |
| 4564 | + ], |
4514 | 4565 | "default": {}, |
4515 | 4566 | "description": "Extra input patterns", |
4516 | | - "title": "Labeledinputpatterns", |
4517 | | - "type": "object" |
| 4567 | + "title": "Labeledinputpatterns" |
4518 | 4568 | }, |
4519 | 4569 | "labeledInputTopics": { |
4520 | | - "additionalProperties": { |
4521 | | - "items": { |
4522 | | - "type": "string" |
| 4570 | + "anyOf": [ |
| 4571 | + { |
| 4572 | + "additionalProperties": { |
| 4573 | + "items": { |
| 4574 | + "type": "string" |
| 4575 | + }, |
| 4576 | + "type": "array" |
| 4577 | + }, |
| 4578 | + "type": "object" |
4523 | 4579 | }, |
4524 | | - "type": "array" |
4525 | | - }, |
| 4580 | + { |
| 4581 | + "type": "null" |
| 4582 | + } |
| 4583 | + ], |
4526 | 4584 | "default": {}, |
4527 | 4585 | "description": "Extra input topics", |
4528 | | - "title": "Labeledinputtopics", |
4529 | | - "type": "object" |
| 4586 | + "title": "Labeledinputtopics" |
4530 | 4587 | }, |
4531 | 4588 | "labeledOutputTopics": { |
4532 | | - "additionalProperties": { |
4533 | | - "type": "string" |
4534 | | - }, |
| 4589 | + "anyOf": [ |
| 4590 | + { |
| 4591 | + "additionalProperties": { |
| 4592 | + "type": "string" |
| 4593 | + }, |
| 4594 | + "type": "object" |
| 4595 | + }, |
| 4596 | + { |
| 4597 | + "type": "null" |
| 4598 | + } |
| 4599 | + ], |
4535 | 4600 | "default": {}, |
4536 | 4601 | "description": "Extra output topics", |
4537 | | - "title": "Labeledoutputtopics", |
4538 | | - "type": "object" |
| 4602 | + "title": "Labeledoutputtopics" |
4539 | 4603 | }, |
4540 | 4604 | "outputTopic": { |
4541 | 4605 | "anyOf": [ |
|
4563 | 4627 | "title": "Schema Registry Url" |
4564 | 4628 | } |
4565 | 4629 | }, |
4566 | | - "required": [ |
4567 | | - "bootstrapServers" |
4568 | | - ], |
4569 | 4630 | "title": "StreamsConfig", |
4570 | 4631 | "type": "object" |
4571 | 4632 | }, |
|
0 commit comments