Skip to content

Commit

Permalink
feat(risedev): check both or neither kafka & sr are user-managed (#17837
Browse files Browse the repository at this point in the history
)

Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan authored Jul 29, 2024
1 parent f0f4415 commit 73da29c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/risedevtool/src/task/schema_registry_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ impl DockerServiceConfig for SchemaRegistryConfig {
panic!("More than one Kafka is not supported yet");
}
let kafka = &kafka[0];
if kafka.user_managed {
panic!("user-managed Kafka with docker Schema Registry is not supported yet. Please make them both or neither user-managed.");
}
vec![
("SCHEMA_REGISTRY_HOST_NAME".to_owned(), self.address.clone()),
(
Expand Down

0 comments on commit 73da29c

Please sign in to comment.