Skip to content

Commit b462dac

Browse files
committed
Actually, for readiness not liveness, let's go offline fast ...
and trust alarms on Under-replicated Partitions to let us know when something is really wrong. Do clients actually care about Readiness? The bootstrap service (#52) will definitely care, which is good. The `broker` service, that the StatefulSet manifest depends on (https://github.com/Yolean/kubernetes-kafka/blob/v2.1.0/50kafka.yml#L7) for naming, is without `publishNotReadyAddresses`. Clients will bootstrap, get the individual DNS names of brokers, resolve those addresses and connect directly to pods.
1 parent e0824f6 commit b462dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

50kafka.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
readinessProbe:
5252
tcpSocket:
5353
port: 9092
54-
timeoutSeconds: 9
54+
timeoutSeconds: 1
5555
volumeMounts:
5656
- name: config
5757
mountPath: /etc/kafka

0 commit comments

Comments
 (0)