Home
Sign Up
Sign In
V2EX
›
问与答
一个 kafka consumer 在 k8s 里 该如何设置存活检测
qdzzyb
·
Aug 23, 2020
· 2226 views
This topic created in 2270 days ago, the information mentioned may be changed or developed.
一个单进程的消费程序
def main(): while True: ... do something...
Supplement 1 ·
Aug 23, 2020
大佬在哪里
Kafka
k8s
def
consumer
2 replies
•
2020-08-23 19:35:03 +08:00
rrfeng
Aug 23, 2020
1
你这个不用设置,死了进程就没了,自然 container 就没了啊
keepfun
Aug 23, 2020 via iPhone
2
实在想检测的话 可以起一个简单的 http 接口 直接用这个链接或者 tcp 端口检测
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
918 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 20:39
·
PVG 04:39
·
LAX 12:39
·
JFK 15:39
♥ Do have faith in what you're doing.
❯