Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Maintenance] Leverage Spring 3.4 Features #568

Open
2 tasks done
devtobi opened this issue Nov 28, 2024 · 3 comments
Open
2 tasks done

[Maintenance] Leverage Spring 3.4 Features #568

devtobi opened this issue Nov 28, 2024 · 3 comments
Labels
Priority: Medium The issue contains work with medium priority. Template: Backend Issues regarding the backend template. Template: EAI Issues regarding the eai template. Type: Maintenance The issue contains maintenance work.
Milestone

Comments

@devtobi
Copy link
Member

devtobi commented Nov 28, 2024

Relevant template

refarch-backend, refarch-eai

Problem description (optional)

No response

Desired solution

Spring Boot 3.4.0 got some new exciting features we could investigate to simplify some things and get rid of boilerplate code, e.g.:

  • Structured Logging (Logstash Support built-in, might be able to remove custom configuration)
  • Support in Testcontainers for Hazelcast
  • Improved Observability with Application Groups

Keep in mind this issue also affects https://github.com/it-at-m/refarch.

Considered alternatives (optional)

No response

Additional context (optional)

See https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.4-Release-Notes for more information.

No duplicate

  • I confirm that this issue is not a duplicate

Code of Conduct

  • I agree to follow this project's Code of Conduct
@devtobi devtobi added Template: Backend Issues regarding the backend template. Template: EAI Issues regarding the eai template. Type: Maintenance The issue contains maintenance work. Priority: Medium The issue contains work with medium priority. labels Nov 28, 2024
@devtobi devtobi moved this from Open to Accepted in it@M RefArch Templates Dec 4, 2024
@DanielOber DanielOber added this to the Release 1.0 milestone Dec 6, 2024
@eidottermihi
Copy link
Member

Structured Logging (Logstash Support built-in, might be able to remove custom configuration)

The current custom configuration also adds the ShortenedThrowableConverter to stay under the docker 16kb per logline limit with long stacktraces.

This part is currently not configurable with the new Spring Boot Structured Logging options 😢

@devtobi
Copy link
Member Author

devtobi commented Dec 6, 2024

Structured Logging (Logstash Support built-in, might be able to remove custom configuration)

The current custom configuration also adds the ShortenedThrowableConverter to stay under the docker 16kb per logline limit with long stacktraces.

This part is currently not configurable with the new Spring Boot Structured Logging options 😢

Okay but we still might be able to at least remove the explicit logstash dependecy as its managed by Spring boot? Did you take a look at this?

@eidottermihi
Copy link
Member

Okay but we still might be able to at least remove the explicit logstash dependecy as its managed by Spring boot? Did you take a look at this?

Spring Boot did not introduce a dependency on the Logback Logstash encoder library, it implements the correct format encoding by itself (directly part of the Spring Boot logging package).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium The issue contains work with medium priority. Template: Backend Issues regarding the backend template. Template: EAI Issues regarding the eai template. Type: Maintenance The issue contains maintenance work.
Projects
Status: Accepted
Development

No branches or pull requests

3 participants