-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Service Binding enhancements - support for multiple
-
False
-
False
-
To Do
-
0
-
Not Supported
Problem:
We need Topology to support the ability to have multiple service binding connections between the same 2 components.
Goal:
- Provide the ability to support creation of multiple service binding connections between the same 2 connections. Be sure that topology will properly support this from a visualization perspective as well as allowing the user to easily select one of these.
Why is it important?
In the context of Managed Kafka, it is possible to have a single application that will communicate with a single Kafka in different ways. The application could be both a consumer and producer on that Kafka.
Use cases:
- User is able to visually create a binding between 2 same components (drag&drop)
- User is able to use the Create Service Binding CTA to create another binding between 2 same
- User is able to visually see that there are more than one binding between 2 same components
Acceptance criteria:
- User creates a first binding by doing a drag&drop action in the topology view
- The user will be able to provide a name for the Service Binding from the modal view (introduced with https://issues.redhat.com/browse/ODC-5947)
- The name of is used as the name of the underlying ServiceBindingCR that is created and the directory created in the "/bindings" mountpoint of the pod matches the name of the ServiceBindingCR (responsibility of Service Binding Operator)
- The user creates a second binding by doing a drag&drop action in the topology view
- The user will provide a different name for the Service Binding from the modal view (introduced with https://issues.redhat.com/browse/ODC-5947)
- There are actually two different bindings directories in the "/bindings" mountpoint of the pod.
- The user creates a third binding by using the Create Service Binding CTA
- The user will provide a different name for the Service Binding from the modal view (introduced with https://issues.redhat.com/browse/ODC-5947)
- There are actually three different bindings directories in the "/bindings" mountpoint of the pod.
- User can get back to the topology view and see that there are 3 different bindings between the same.
- User can select one of the 3 different binding to visualize its details.
Additional Details:
This requirement is needed in order to allow a single application (e.g. Quarkus) bind to multiple Managed Kafka instances, and use the name of the CR as the configuration name in Quarkus SmallRye Reactive Messaging. This allows us to configure which SmallRye configuration should bind to which Service by matching the name of the ServiceBindingCR with the name of the SmallRye configuration.
Dependencies (External/Internal):
Design Artifacts:
Exploration:
Note:
- clones
-
ODC-6467 Service Binding enhancements - discoverability
- Closed
1.
|
Docs Tracker | Closed | Unassigned | ||
2.
|
QE Tracker | Closed | Unassigned | ||
3.
|
TE Tracker | Closed | Unassigned |