Skip to content

Native image support for Config Server#2361

Merged
OlgaMaciaszek merged 14 commits intomainfrom
native-image-for-server
Dec 5, 2023
Merged

Native image support for Config Server#2361
OlgaMaciaszek merged 14 commits intomainfrom
native-image-for-server

Conversation

@OlgaMaciaszek
Copy link
Copy Markdown
Contributor

No description provided.

@OlgaMaciaszek OlgaMaciaszek added this to the 4.1.0 milestone Dec 5, 2023
@OlgaMaciaszek OlgaMaciaszek self-assigned this Dec 5, 2023
@OlgaMaciaszek
Copy link
Copy Markdown
Contributor Author

@Buzzardo could you please review the doc changes?

====

IMPORTANT::
Since handling `FileSystemProvider` has not yet been properly addressed in Graal (https://github.com/oracle/graal/issues/5134[graal#5134], will likely require the completion of the work on https://github.com/graalvm/taming-build-time-initialization[https://github.com/graalvm/taming-build-time-initialization] to be fixed), workaround config has to be added. If you want to run Config Server as a native image, you'll need to add the following options to your GraalVM build plugin setup (please refer to https://www.graalvm.org/[GraalVM] Maven or Gradle plugin documentation for more details):
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 will let @Buzzardo chime in here but I think this could be worded better. Here is how I would reword things.

Due to [a bug](https://github.com/oracle/graal/issues/5134) in Graal's `FileSystemProvider` a configuration workaround needs to be added to allow the Config Server to run as a native image.  You will need to add the following options to your GraalVM build plugin setup (please refer to https://www.graalvm.org/[GraalVM] Maven or Gradle plugin documentation for more details):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure, I'll change it.

@OlgaMaciaszek OlgaMaciaszek merged commit 6be0131 into main Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants