confluentinc / vscode

Confluent for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=confluentinc.vscode-confluent
Apache License 2.0
13 stars 3 forks source link

With Confluent Cloud, when selecting a topic, the corresponding schema registry should be selected. #607

Open derek1ee opened 4 hours ago

derek1ee commented 4 hours ago
  1. Sign into Confluent Cloud.
  2. Observe "Schemas" section shows "Select a schema registry"
  3. Navigate to an environment, and select a topic.
  4. Observe "Schemas" section.

Actual: Schema registry remains unselected.

Expected: The corresponding schema registry in the same environment of the selected topic should be selected. (Basically SR selection should be coupled to topic selection)

shouples commented 4 hours ago

@derek1ee this is currently intended behavior to not explicitly link the two views to provide flexibility across connections/environments, but I'm interested in your thoughts here: if you're working with a schema listing in one (CCloud) environment and want to look at messages in another environment, what is the expected behavior? Switch away from the currently-focused Schema Registry in the Schemas view? Or is this only when there is no currently selected Schema Registry in the Schemas view?

derek1ee commented 4 hours ago

if you're working with a schema listing in one (CCloud) environment and want to look at messages in another environment, what is the expected behavior?

I can see that allowing users to "override / change" the SR after we automatically select one based on topic selection. But I'm also curious what's the use case / whether this is something people actually need to do (e.g. why wouldn't you just upload the schema to that other environment?)