krzysztofslusarski / continuous-async-profiler

Spring boot library for continuous profiling with async-profiler
Apache License 2.0
30 stars 5 forks source link

Use Spring Boot ConfigurationProperties when starter is used #1

Closed wyhasany closed 3 years ago

wyhasany commented 3 years ago

For everyone who uses Spring Boot is more handy to use ConfigurationProperties to map application properties. We can generate metadata which adds auto-completion for them with help of annotation processor.

Auto-completion can contain description of property info about default value. Duration can be stated as '45s' or '12h'. So it's very handy for user perspective. Inside starter we can "translate" them into Spring Framework properties configuration.

image