Skip to content

Commit

Permalink
risedev: check both or neither kafka & sr are user-managed
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan committed Jul 29, 2024
1 parent 0e69ede commit 67ffac1
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 67ffac1

Please sign in to comment.