schema-registry icon indicating copy to clipboard operation
schema-registry copied to clipboard

Health check endpoint

Open sopeal opened this issue 5 years ago • 15 comments
trafficstars

Hello,

I think adding a health check rest endpoint that verifies connection of depending services like kafka and zookeeper would bring value to schema registry.

I have schema registry managed by kubernetes cluster and I found out that sometimes schema registry loses connection to kafka. I can fix this problem by restarting a pod. Unfortunately there is no health check endpoint so restarting cannot be done automatically by kubernetes.

Is there any other solution which resolves that problem?

sopeal avatar Dec 18 '19 17:12 sopeal

Agree, it will help to make health check easier in K8s

chethanuk avatar Feb 06 '20 11:02 chethanuk

+1

mikouaj avatar Feb 19 '20 16:02 mikouaj

+1

NMamont avatar Feb 27 '20 13:02 NMamont

+1

ghost avatar Mar 30 '20 10:03 ghost

+1

msilvestre avatar Apr 03 '20 11:04 msilvestre

@rayokota Feel free to copy my healthCheck logic from here - https://github.com/zalando-incubator/remora/pull/62/files#diff-2e8cc252e67c2ad91fb6519cc88f0f99R86

OneCricketeer avatar Apr 06 '20 21:04 OneCricketeer

Thanks @cricket007, I'll take a look.

rayokota avatar Apr 06 '20 22:04 rayokota

Any updates here?

BeyondEvil avatar Apr 15 '21 11:04 BeyondEvil

What's wrong with /v1/metadata/id?

It already returns 500 error when backing store is down

OneCricketeer avatar Apr 15 '21 12:04 OneCricketeer

Any updates on this issue? It would be nice to have some way to healthcheck schema registry within Kubernetes.

rodriguezconde avatar Jul 21 '21 06:07 rodriguezconde

@rodriguezconde See my previous comment

OneCricketeer avatar Jul 21 '21 20:07 OneCricketeer

looks like /v1/metadata/id was protected once authentication enabled.

Is there a public endpoint that act as health check url?

zhjuncai avatar Sep 06 '22 08:09 zhjuncai

/subjects seems to be a better option

alko89 avatar Sep 29 '22 13:09 alko89

any update?

vl-kp avatar Mar 15 '24 06:03 vl-kp