strimzi / strimzi-kafka-bridge

An HTTP bridge for Apache Kafka®
Apache License 2.0
282 stars 119 forks source link

Move HTTP server for liveness and readiness of the bridge #73

Closed ppatierno closed 7 years ago

ppatierno commented 7 years ago

We should move the initialization of the HTTP server before trying to connect to the messaging system as a client. This because a liveness probe in K8S/OS should not fail if the bridge can't connect to the messaging system (see here : https://github.com/EnMasseProject/enmasse/issues/83). At same time we should have another HTTP path in order to expose a readiness probe for K8S/OS when the bridge is effectivily connected to the messaging system.

ppatierno commented 7 years ago

Close on behalf of 72c362679c965d509925db802ee1848bec5e5f8c