-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add schema registry infos to Kafka binding
- Loading branch information
Showing
3 changed files
with
88 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://asyncapi.com/bindings/ibmmq/server.json", | ||
"title": "Server Schema", | ||
"description": "This object contains server connection information to a Kafka broker. This object contains additional information not possible to represent within the core AsyncAPI specification.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\-\\_]+$": { | ||
"$ref": "https://raw.githubusercontent.com/asyncapi/spec-json-schemas/v2.9.0/schemas/2.1.0.json#/definitions/specificationExtension" | ||
} | ||
}, | ||
"properties": { | ||
"schemaRegistryUrl": { | ||
"type": "string", | ||
"description": "API URL for the Schema Registry used when producing Kafka messages (if a Schema Registry was used)." | ||
}, | ||
"schemaRegistryVendor": { | ||
"type": "string", | ||
"description": "The vendor of the Schema Registry and Kafka serdes library that should be used." | ||
}, | ||
"bindingVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"0.3.0" | ||
], | ||
"description": "The version of this binding." | ||
} | ||
}, | ||
"examples": [ | ||
{ | ||
"schemaRegistryUrl": "https://my-schema-registry.com", | ||
"schemaRegistryVendor": "confluent", | ||
"bindingVersion": "0.3.0" | ||
} | ||
] | ||
} |