tx7do / kratos-transport

kratos transport layer extension
MIT License
348 stars 95 forks source link

pulsar 的 keepAlive 有问题? #59

Closed moecasts closed 1 year ago

moecasts commented 1 year ago

请问一下大佬,加了 pulsar server 之后,consul 的 health check 会失败。是这个用法不对吗? 232171693974888_ pic 232181693974888_ pic 232191693974888_ pic

tx7do commented 1 year ago

默认是不需要打开consul的health check的,因为保活还有另外一套检测机制默认是启动的。

moecasts @.***> 于2023年9月7日周四 10:15写道:

请问一下大佬,加了 pulsar server 之后,consul 的 health check 会失败。是这个用法不对吗? [image: 232171693974888 pic] https://user-images.githubusercontent.com/37169906/266184147-023d30c8-7c92-481f-be8c-4034147b7372.jpg [image: 232181693974888 pic] https://user-images.githubusercontent.com/37169906/266184173-ff05be3b-d99d-4c0b-ae0a-30876f6b9db6.jpg [image: 232191693974888_ pic] https://user-images.githubusercontent.com/37169906/266184189-fa5bb2eb-899e-4391-a790-df08446d56c8.jpg

— Reply to this email directly, view it on GitHub https://github.com/tx7do/kratos-transport/issues/59, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZKQJG6OGSKNIWX75RCX63XZEU5RANCNFSM6AAAAAA4OF3TVY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

moecasts commented 1 year ago

可以单独关 pulsarhealth check 吗?这里还有别的服务的。

tx7do commented 1 year ago

你是用的consul的注册中心?那么就不需要了,本身就默认开启有一个ttl的保活。kratos的health check貌似有点问题,我没有深入去深究。

moecasts commented 1 year ago

好的,感谢~