Skip to content

Commit

Permalink
fix: add upstream in store when start in read mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Mar 28, 2024
1 parent cc16a75 commit 9f54137
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/fluvio-sc/src/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ async fn create_memory_client(path: PathBuf) -> Result<Arc<MemoryClient>> {
client.create_item(value.as_input()).await?;
}

for value in &config.upstream_clusters {
info!(name = &value.metadata.name, "read upstream cluster");
client.create_item(value.as_input()).await?;
}

Ok(Arc::new(client))
}

Expand Down

0 comments on commit 9f54137

Please sign in to comment.