Replies: 3 comments 4 replies
-
In the last comment we say
which alludes to the fact that there could be an available HA broker group. This likely needs some further elaboration as well, as at the moment while we can create a broker or brokers relatively seamlessly but not HA brokers of any sort. In fact to do so for the specific JDBC based use case relies on detailed configuration that while possible is certainly verbose from the point of view of the end user. We should also concern ourselves with making this use case easy/easier to use as well as the application deployment scenario itself. |
Beta Was this translation helpful? Give feedback.
-
The split that is in my mind is based on the concept of provisioning brokers and on-boarding applications. For an application (AppA) that wants to persistent work queue with a 10G backlog. That is described in some new CR that maps this to messaging verbs and adverbs (choosing these is the challenge):
Each of those verbs and adverbs has a specific intent: There has to be a matching and capable provisioned broker for this work queue use case. The work flow is along the lines:
I imagine an operator that supports managing these two new provisioning CRs and a UI that facilitates their creation and visualisation and understands their interrelation. I also think a JDBC ha broker could provide the simplest route to a provisioned broker, and we can start to think on the verbs for an application provisioning CR. |
Beta Was this translation helpful? Give feedback.
-
Indeed, we need a plan for that as well. I've kind of mixed two different discussions together. The split between broker provisioning and application on-boarding, and the HA brokers provisioning.
Agreed. A first good goal would be to support JDBC HA creation from presets with little, if none, user input. Then once we've got that running, we can start figuring out the jolokia bits & pieces, and after that the application onboarding. |
Beta Was this translation helpful? Give feedback.
-
We've been chatting with @gtully about the new JDBC High Availability use case he is working on. As of right now our front-end isn't compatible with this new kind of deployments and I would like to discuss here the steps that would be required for it to be so.
Shifting from broker deployment to application deployment
Brokers are running on pods, applications are running on brokers.
The plugin would need to be able to:
It's a new kind of layering we would provide.
The jolokia rbac
A fully locked down broker is heavily limiting what gets exposed. No mbean, no metrics, no nothing except a jolokia endpoint.
We will need to have a way to communicate to the jolokia endpoint who is the current user in a safe way to get appropriate answers. The idea is to rely on some tokens provided by openshift:
The integration within the OpenShift console
Here's a first draft of the changes to make on the plugin:
Listing applications
Nowadays the plugin is listing the deployed brokers, their statuses and provides a details page for each broker.
We would need to provide the same kind of structure but at the application level.
Deploying an application
Nowadays the plugin has a
create broker
button. We would need to provide adeploy an application
button.An application gets defined by it usecases
Instead of going to a form, the user would select a usecase, or a set of compatible usecases they want to achieve.
Deploying to running brokers
The user would select an available broker (or HA broker) to deploy on, with an option to spin one up if none are available.
Beta Was this translation helpful? Give feedback.
All reactions