...
List of protocol-level errors returned in API responses:
| Error Code | Name | Context | Used By |
|---|
Context | | 3 | UNKNOWN_TOPIC_OR_PARTITION |
MirrorMetadataManager | Source topic metadata has errors during sync| The topic does not exist on the target cluster | RemoveTopicsFromMirror, PauseMirrorTopics, ResumeMirrorTopics |
| 15 | COORDINATOR_NOT_AVAILABLE |
MirrorCoordinator | Mirror | The mirror coordinator is not active | WriteMirrorStates, ReadMirrorStates, LastMirroredOffsets |
| 31 | CLUSTER_AUTHORIZATION_FAILED |
KafkaApis, ControllerApis | Missing authorization for mirror operations| The client is not authorized to perform the mirror operation | CreateMirror, AddTopicsToMirror, RemoveTopicsFromMirror, PauseMirrorTopics, ResumeMirrorTopics, ListMirrors, DescribeMirrors, WriteMirrorStates, ReadMirrorStates, LastMirroredOffsets |
| 35 | UNSUPPORTED_VERSION |
KafkaApis, ControllerApis | Cluster mirroring is disabled (mirror.version=0) | CreateMirror, AddTopicsToMirror, RemoveTopicsFromMirror, PauseMirrorTopics, ResumeMirrorTopics, ListMirrors, DescribeMirrors, WriteMirrorStates, ReadMirrorStates, LastMirroredOffsets |
| 38 | INVALID_REPLICATION_FACTOR |
ReplicationControlManager for | available to replicate the mirror topic |
replication | CreateMirror |
| 39 | INVALID_REPLICA_ASSIGNMENT |
ReplicationControlManager | Brokers in the partition assignment are fenced or in controlled shutdown |
42 | INVALID_REQUEST | KafkaApis, ConfigurationControlManager | Validation failures (direct mirror.name modification, mirror disabled, invalid config) | CreateMirror |
| TBD | READ_ONLY_TOPIC | The topic is read-only because it is a mirror topic on the target cluster | Produce |
| TBD | INVALID_MIRROR_NAME | The mirror name does not meet the naming rules | CreateMirror |
| TBD | UNKNOWN_MIRROR | The topic is not assigned to any mirror | RemoveTopicsFromMirror, PauseMirrorTopics, ResumeMirrorTopics |
| TBD | TOPIC_ALREADY_IN_MIRROR | The topic is already assigned to a mirror | AddTopicsToMirror |
| TBD | TOPIC_NOT_IN_MIRROR | The topic does not belong to the specified mirror | RemoveTopicsFromMirror, PauseMirrorTopics, ResumeMirrorTopics |
| TBD | MIRROR_TOPIC_ALREADY_PAUSED | The mirror topic is already paused | PauseMirrorTopics |
| TBD | MIRROR_TOPIC_NOT_PAUSED | The mirror topic is not paused | ResumeMirrorTopics |
| TBD | MIRROR_TOPIC_BEING_REMOVED | The mirror topic is being removed | ResumeMirrorTopics |
Compatibility, Deprecation, and Migration Plan
...