Interface ConfigResource
-
- All Known Implementing Classes:
ConfigResourceImpl
@Path("/apis/ccompat/v6/config") @Consumes({"application/json","application/octet-stream","application/vnd.schemaregistry.v1+json","application/vnd.schemaregistry+json"}) @Produces({"application/json","application/octet-stream","application/vnd.schemaregistry.v1+json","application/vnd.schemaregistry+json"}) public interface ConfigResource
Note: This API specification is owned by Confluent. The config resource allows you to inspect the cluster-level configuration values as well as subject overrides.- Author:
- Ales Justin, Jakub Senko 'jsenko@redhat.com'
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompatibilityLevelParamDto
getGlobalCompatibilityLevel()
Get global compatibility level.CompatibilityLevelParamDto
getSubjectCompatibilityLevel(String subject)
Get compatibility level for a subject.CompatibilityLevelDto
updateGlobalCompatibilityLevel(@NotNull CompatibilityLevelDto request)
Update global compatibility level.CompatibilityLevelDto
updateSubjectCompatibilityLevel(String subject, @NotNull CompatibilityLevelDto request)
Update compatibility level for the specified subject.
-
-
-
Method Detail
-
getGlobalCompatibilityLevel
@GET CompatibilityLevelParamDto getGlobalCompatibilityLevel()
Get global compatibility level. Response: - compatibility (string) – Global compatibility level. Will be one of BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, NONE Status Codes: 500 Internal Server Error Error code 50001 – Error in the backend data store
-
updateGlobalCompatibilityLevel
@PUT CompatibilityLevelDto updateGlobalCompatibilityLevel(@NotNull @NotNull CompatibilityLevelDto request)
Update global compatibility level. Request: - compatibility (string) – New global compatibility level. Must be one of BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, NONE Status Codes: 422 Unprocessable Entity Error code 42203 – Invalid compatibility level 500 Internal Server Error Error code 50001 – Error in the backend data store
-
getSubjectCompatibilityLevel
@Path("/{subject}") @GET CompatibilityLevelParamDto getSubjectCompatibilityLevel(@PathParam("subject") String subject)
Get compatibility level for a subject.- Parameters:
subject
- (string) – Name of the subject Request: - compatibility (string) – Compatibility level for the subject. Will be one of BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, NONE Status Codes: 404 Not Found – Subject not found 500 Internal Server Error – Error code 50001 – Error in the backend data store
-
updateSubjectCompatibilityLevel
@Path("/{subject}") @PUT CompatibilityLevelDto updateSubjectCompatibilityLevel(@PathParam("subject") String subject, @NotNull @NotNull CompatibilityLevelDto request)
Update compatibility level for the specified subject.- Parameters:
subject
- (string) – Name of the subject Request: - compatibility (string) – New compatibility level for the subject. Must be one of BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, FULL_TRANSITIVE, NONE Status Codes: 422 Unprocessable Entity – Error code 42203 – Invalid compatibility level 500 Internal Server Error – Error code 50001 – Error in the backend data store Error code 50003 – Error while forwarding the request to the primary
-
-