Skip to content

Commit c35dae8

Browse files
committed
fix: missing required fields
Signed-off-by: David Hontecillas <dhontecillas@gmail.com>
1 parent 72a8af8 commit c35dae8

File tree

6 files changed

+21
-8
lines changed

6 files changed

+21
-8
lines changed

v2.13/backend/pubsub/kafka/publisher.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
"properties": {
99
"success_status_code": {
1010
"title": "Success Status Code",
11-
"description": "http status code to return for a successful write in the queue",
11+
"description": "HTTP status code to return for a successful write in the queue",
1212
"type": "number",
1313
"maximum": 201,
14-
"minimum": 200
14+
"minimum": 200,
15+
"deafult": 200
1516
},
1617
"writer": {
1718
"title": "Writer",

v2.13/messaging/kafka/connection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"title": "Kafka Reader Connection",
55
"description": "Enterprise only. Defines how to connect to a Kafka cluster",
66
"type": "object",
7+
"required": [
8+
"brokers",
9+
],
710
"properties": {
811
"brokers": {
912
"title": "Brokers available to connect to",
@@ -19,7 +22,9 @@
1922
"$ref": "../../client_tls.json"
2023
},
2124
"sasl": {
25+
"type": "object",
2226
"title": "SASL Connection options",
27+
"description": "Enables to authenticate to the Kafka service using user and password",
2328
"$ref": "./sasl.json"
2429
},
2530
"dial_timeout": {

v2.13/messaging/kafka/consumer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"group_rebalance_strategies": {
2222
"title": "Group Rebalance Strategies",
23-
"description": "the priority-ordered list of client-side consumer group balancing strategies that will be offered to the coordinator. The first strategy that all group members support will be chosen by the leader. Optionsare: range, roundrobin, and sticky",
23+
"description": "the priority-ordered list of client-side consumer group balancing strategies that will be offered to the coordinator. The first strategy that all group members support will be chosen by the leader. Options are: `range`, `roundrobin`, and `sticky`",
2424
"default": [ "range" ],
2525
"type": "array",
2626
"items": {
@@ -47,6 +47,7 @@
4747
"isolation_level": {
4848
"title": "Isolation Level",
4949
"description": "supports 2 modes: `read_commited` to consume and return all messages in message channel, and `read_uncommited` to hide messages that are part of an aborted transaction",
50+
"type": "string",
5051
"default": "read_commited",
5152
"enum": [ "read_commited", "read_uncommited" ]
5253
}

v2.13/messaging/kafka/reader.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"title": "Kafka Reader",
55
"description": "Enterprise only. Defines how to read messages from a Kafka cluster",
66
"type": "object",
7+
"required": [
8+
"connection",
9+
"topics"
10+
],
711
"properties": {
812
"connection": {
913
"title": "Connection details",

v2.13/messaging/kafka/sasl.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"properties": {
88
"mechanism": {
99
"title": "SASL Mechanism",
10-
"description": "The name of the enabled SASL mechanism. Possible values: OAUTHBEARER, PLAIN",
10+
"description": "The name of the enabled SASL mechanism",
1111
"default": "PLAIN",
12+
"type": "string",
1213
"enum": [ "PLAIN", "OAUTHBEARER" ]
1314
},
1415
"azure_event_hub": {

v2.13/messaging/kafka/writer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,28 @@
44
"title": "Kafka Writer",
55
"description": "Enterprise only. Defines how to write messages to a Kafka cluster",
66
"type": "object",
7+
"required": ["connection", "topic"],
78
"properties": {
89
"connection": {
910
"title": "Connection details",
10-
"description": "settings to stablish the connection to the kafka services",
11+
"description": "Settings to establish the connection to the kafka service",
1112
"$ref": "./connection.json",
1213
"type": "object"
1314
},
1415
"producer": {
1516
"title": "Producer options",
16-
"description": "details about how to write to a topic",
17+
"description": "Details about how to write to a topic",
1718
"$ref": "./producer.json",
1819
"type": "object"
1920
},
2021
"topic": {
2122
"title": "Topic",
22-
"description": "the topics to write to",
23+
"description": "Topic to write to",
2324
"type": "string"
2425
},
2526
"key_meta": {
2627
"title": "Key Meta Name",
27-
"description": "the name of the header where the kafka message key value is written",
28+
"description": "Name of the header where the kafka message key value is written",
2829
"type": "string"
2930
}
3031
},

0 commit comments

Comments
 (0)