Minimize configured topics for Access Services (OMASs) #7748
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Except when the "no-topics" option is specified, the access services configuration helper methods add a connection for both the InTopic and the OutTopic to each access service configuration irrespective of whether the particular OMAS supports these topics.
This has no impact at runtime because the OMASs simply do not start topics they do not use. However, from a set up point of view, it is misleading - and can result in an organization thinking they need to set up (and may be pay for) topics that are not use.
This PR adds knowledge of whether an OMAS supports the inTopic and/or OutTopic to AccessServiceDescription. This information is used by the configuration helper methods when setting up the access service configuration.
Related Issue(s)
None
Testing
Using the "Understanding server configuration" open metadata lab I checked that the configuration documents no longer contain unnecessary topic connections.
This is the list of topics for
cocoMDS1
after the change:Notice Data Engine OMAS supports an InTopic only. All of the others support just an OutTopic. Prior to this change, each OMAS had both an InTopic and an OutTopic configured.
Release Notes & Documentation
The description from this PR is summarized in the R4.2 release notes.