-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hello,
We recently started to use Roles in Confluent Cloud Schema Registry. We discovered that when we use a role (DeveloperWrite for all subjects) that can write schemas, but not change compatibility level, kafkajs will fail to register or produce with the error given above: Confluent_Schema_Registry - User is denied operation WriteCompatibility on Subject: xxxx. However, we don't set the compatibility level as a parameter. What we do is:
register(
{
type: SchemaType.AVRO,
schema: data,
},
{
subject, // string
},
);
This should not be the case, as the the library should not set the compatiblity level unless is passed as a param. From what I see in
| if (compatibility && isFirstTimeRegistration) { |
Full error:
ResponseError: Confluent_Schema_Registry - User is denied operation WriteCompatibility on Subject: raw.data.batched-issue-operation-value
at /srv/app/node_modules/@kafkajs/confluent-schema-registry/dist/api/middleware/errorMiddleware.js:17:37
JoachimDorchies, brunodomenici and silverwind
Metadata
Metadata
Assignees
Labels
No labels