8000 WIP: Issue 9304 - provide docs for main concepts around configuring q… by DGuhr · Pull Request #9432 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

WIP: Issue 9304 - provide docs for main concepts around configuring q… - #9432

Closed
DGuhr wants to merge 1 commit into
keycloak:mainfrom
DGuhr:9034_docs_mainconfigconcepts
Closed

DGuhr wants to merge 1 commit into
keycloak:mainfrom
DGuhr:9034_docs_mainconfigconcepts

Conversation

@DGuhr
@DGuhr DGuhr commented Jan 7, 2022 •
Copy link
Copy Markdown
Contributor

…uarkus based keycloak

This is in unfinished draft state for now. That said, feel free to check if this is the right direction, everyone :) I happily remove stuff if it's not needed.

Video of resulting html from 01/07/22: https://youtu.be/-PsBL9cJqvI (or just check it out, run mvn clean install in /docs and look at it in target/generated-docs)

@DGuhr
DGuhr force-pushed the 9034_docs_mainconfigconcepts branch from 4dff86e to 69e6139 Compare January 7, 2022 15:28
@DGuhr
DGuhr force-pushed the 9034_docs_mainconfigconcepts branch from 69e6139 to 5528cea Compare January 10, 2022 08:31
@pedroigor pedroigor left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we are working on the same guide. See pedroigor@fe69b05.

== Distinction between runtime- and buildtime options
Configuration options are divided in two categories:

- Runtime Options are options that can be set at runtime when starting the server
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my proposal, I tried to avoid exposing to users additional complexity by not mentioning what a runtime/build time option is. But just say that some are only available when building.

This is one of the toughest concepts to explain and bringing these "internal" concepts I think does not help to make it easier for users.


The `build` command starts a build process during which Keycloaks configuration gets baked into the jar, and thus optimizes the resulting Keycloak server image.

Under the covers, Keycloak leverages Quarkus' "reaugmentation" phase to produce a fully optimized Keycloak server image including all settings. In this phase, multiple initialization steps (e.g. loading providers, switching features on or off, setting up the db connection) are executed and baked into the Keycloak server image. This saves a good amount of time when starting up.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. We don't want to expose "re-augmentation" because users don't need to care about what is it or why it is there.

Instead, we should focus explaining why the build command is important and how to use it.


=== List of buildtime options

<#list ctx.options.categories as category>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think having options available to the build command should be here. From my PoV, guides should focus on explaining concepts and be more consice.

We can just update the all-config page with the information about whether a option requires a build. As well as teach people how to query if a property requires a build (e.g.: help).

@pedroigor
Copy link
Copy Markdown
Contributor

@DGuhr If you want to take this one, we could probably discuss how to align my version with yours.

@DGuhr
DGuhr commented Jan 10, 2022
Copy link
Copy Markdown
Contributor Author

closing after discussing the concept with @pedroigor - this is mroe for a developer audience, less for an end user audience. his is better, so lets use his one ;)

@DGuhr DGuhr closed this Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0