https://kotlinlang.org logo
#http4k
Title
# http4k
d

dave

11/21/2019, 6:28 AM
@Razi Kheir you can do either TBH - there are points to be made on either side- a single port gives you the ability to know that your main server instance definitely isn't choking, but you then have internal traffic mixed up with your normal API traffic which can be a security thing (that otherwise needs to be solved another way). If you do want to put them on the same port, you can just compose an instance of
Health
into your main routes definition block.
👍 1
r

Razi Kheir

11/21/2019, 6:35 AM
Thanks Dave 🙂
3 Views