Skip to content

pwielgolaski/vertx-typesafe-config-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple Vertx 3 application that support configuration using typesafe-config.

Configuration located in

  • conf/application.conf - common default
  • conf/dev/application.conf - dev specific
  • conf/prod/application.conf - production specific

Usage:

Development

mvn clean install
java -jar ...-fat.jar

Production

mvn clean install
java -Dmode=prod -jar ...-fat.jar`

SLF4J - logging

I prefer to use SLF4j, so if you want to enable it add extra system property

-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory

About

typesafe-config with vertx3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages